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.