activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Using multiple nework connectors - ActiveMQ won't startup
Date Wed, 26 Sep 2012 20:30:57 GMT
thanks for the feedback, I updated the doc and added a variation of
your config as an example, thanks.

https://cwiki.apache.org/confluence/display/ACTIVEMQ/Networks+of+Brokers#NetworksofBrokers-Duplexnetworkconnectors

On 26 September 2012 10:18, jandeclercq <jan.declercq@alsic.be> wrote:
> 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.



-- 
http://fusesource.com
http://blog.garytully.com

Mime
View raw message