Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-639

Broker is not re-connecting to a network of brokers after going down and then being brought back up

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.0 M4
    • 4.0
    • Broker
    • None
    • Regression

    Description

      I have set up a network of brokers with the following configuration:

      <beans xmlns="http://activemq.org/config/1.0">

      <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>

      <broker brokerName="bfe-${HOSTNAME}" useJmx="true" persistent="false" managementContext="#mc">
      <destinationPolicy>
      <policyMap>
      <policyEntries>
      <policyEntry queue=">" memoryLimit="5000000"/>
      </policyEntries>
      </policyMap>
      </destinationPolicy>
      <memoryManager>
      <usageManager limit="100000000"/>
      </memoryManager>

      <transportConnectors>
      <transportConnector uri="tcp://localhost:61616" discoveryUri="multicast://bfe2"/>
      </transportConnectors>

      <networkConnectors>
      <!-- by default just auto discover the other brokers -->
      <networkConnector uri="multicast://bfe2"/>
      </networkConnectors>
      </broker>

      <bean id="mc" class="org.apache.activemq.broker.jmx.ManagementContext">
      <property name="connectorPort" value="1099"/>
      <property name="connectorPath" value="/jmxrmibfe-1"/>
      </bean>

      </beans>

      I then run a series of tests (producing and consuming on the network of brokers). Then I shut one broker down and then start it up again it can't see the other brokers in the network but the other brokers can see it.

      Attachments

        Activity

          People

            chirino Hiram R. Chirino
            bdiesenhaus Brian Diesenhaus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: