Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.5.0
-
All environment
-
Patch Available
Description
Please add BrokerServiceAware support for DiscoveryAgent.
You need to change createDiscoveryAgent method on org.apache.activemq.broker.TransportConnector
protected DiscoveryAgent createDiscoveryAgent() throws IOException {
if (discoveryUri != null) {
DiscoveryAgent agent = DiscoveryAgentFactory.createDiscoveryAgent(discoveryUri);
if( agent!=null && agent instanceof BrokerServiceAware )
return agent;
}
return null;
}
Thx