activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jandeclercq <jan.decle...@alsic.be>
Subject Using multiple nework connectors - ActiveMQ won't startup
Date Wed, 26 Sep 2012 09:18:57 GMT
ActiveMQ versions  5.5.1  and 5.6.0

Topic:
http://activemq.apache.org/networks-of-brokers.html


We had this configuration
<networkConnectors>
	<networkConnector duplex="true" uri="static:(tcp://10.1.11.22:61616)">
 		<dynamicallyIncludedDestinations>
  			<topic physicalName="outgoing.System1" /> 
		</dynamicallyIncludedDestinations>
	</networkConnector>
	<networkConnector duplex="true" uri="static:(tcp://10.1.11.14:61616)">
        	<dynamicallyIncludedDestinations>
                	<topic physicalName="outgoing.System2"/>
                </dynamicallyIncludedDestinations>
	</networkConnector>
  </networkConnectors>

We couldn't get this working.  it took me several hours to find out that a
networkConnector MUST have name if there is more then One specified.  

In version 5.5.1 this gives no visible error.   in version 5.6.0 this gives
a verry strange eror, that is reasonable ones you already know what is
wrong.  

If other people are struggling to get more then one networkconnector
working,  you must add a name, I couldn't find this in the manuals.

<networkConnectors>
	<networkConnector name="SYSTEM1" duplex="true"
uri="static:(tcp://10.1.11.22:61616)">
 		<dynamicallyIncludedDestinations>
  			<topic physicalName="outgoing.System1" /> 
		</dynamicallyIncludedDestinations>
	</networkConnector>
	<networkConnector name="SYSTEM2" duplex="true"
uri="static:(tcp://10.1.11.14:61616)">
        	<dynamicallyIncludedDestinations>
                	<topic physicalName="outgoing.System2"/>
                </dynamicallyIncludedDestinations>
	</networkConnector>
  </networkConnectors>





--
View this message in context: http://activemq.2283324.n4.nabble.com/Using-multiple-nework-connectors-ActiveMQ-won-t-startup-tp4656993.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message