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

        Gary Tully made changes -
        Fix Version/s 5.6.0 [ 12317974 ]
        Fix Version/s 5.x [ 12316331 ]
        Dejan Bosanac made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Dejan Bosanac [ dejanb ]
        Fix Version/s 5.6.0 [ 12316331 ]
        Resolution Fixed [ 1 ]
        Hide
        Dejan Bosanac added a comment -

        Patch applied with svn revision 1148646. Thanks!

        Show
        Dejan Bosanac added a comment - Patch applied with svn revision 1148646. Thanks!
        Samuel Liard made changes -
        Field Original Value New Value
        Attachment TransportConnector.java [ 12486980 ]
        Hide
        Samuel Liard added a comment -

        Modification of createDiscoveryAgent()

        Show
        Samuel Liard added a comment - Modification of createDiscoveryAgent()
        Samuel Liard created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development