ActiveMQ
  1. ActiveMQ
  2. AMQ-3406

Enable BrokerServiceAware support for DiscoveryAgent

    Details

    • Patch Info:
      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 )

      { ((BrokerServiceAware)agent).setBrokerService(brokerService); }

      return agent;
      }
      return null;
      }

      Thx

        Activity

          People

          • Assignee:
            Dejan Bosanac
            Reporter:
            Samuel Liard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development