You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by amerigo5 <am...@hotmail.com> on 2006/04/03 19:31:39 UTC
Network of Brokers using Multicast Discovery
How can can I setup Network of Brokers using Multicast Discovery?
If I have the below config for "broker1", how does the config for "broker2"
look?
<beans xmlns="http://activemq.org/config/1.0">
<broker brokerName="broker1" persistent="true" useJmx="false">
<transportConnectors>
<transportConnector uri="tcp://localhost:60001"
discoveryUri="multicast://default"/>
</transportConnectors>
<networkConnectors>
<networkConnector uri="multicast://default"/>
</networkConnectors>
<persistenceAdapter>
<memoryPersistenceAdapter/>
</persistenceAdapter>
</broker>
</beans>
Thanks!
--
View this message in context: http://www.nabble.com/Network-of-Brokers-using-Multicast-Discovery-t1388256.html#a3729875
Sent from the ActiveMQ - User forum at Nabble.com.
Re: Network of Brokers using Multicast Discovery
Posted by amerigo5 <am...@hotmail.com>.
Thanks!
--
View this message in context: http://www.nabble.com/Network-of-Brokers-using-Multicast-Discovery-t1388256.html#a3744947
Sent from the ActiveMQ - User forum at Nabble.com.
Re: Network of Brokers using Multicast Discovery
Posted by Hiram Chirino <hi...@hiramchirino.com>.
The following should work if it's run on a different box.
<beans xmlns="http://activemq.org/config/1.0">
<broker brokerName="broker2" persistent="true" useJmx="false">
<transportConnectors>
<transportConnector uri="tcp://localhost:60001"
discoveryUri="multicast://default"/>
</transportConnectors>
<networkConnectors>
<networkConnector uri="multicast://default"/>
</networkConnectors>
<persistenceAdapter>
<memoryPersistenceAdapter/>
</persistenceAdapter>
</broker>
</beans>
On 4/3/06, amerigo5 <am...@hotmail.com> wrote:
>
> How can can I setup Network of Brokers using Multicast Discovery?
>
> If I have the below config for "broker1", how does the config for "broker2"
> look?
>
> <beans xmlns="http://activemq.org/config/1.0">
> <broker brokerName="broker1" persistent="true" useJmx="false">
> <transportConnectors>
> <transportConnector uri="tcp://localhost:60001"
> discoveryUri="multicast://default"/>
> </transportConnectors>
>
> <networkConnectors>
> <networkConnector uri="multicast://default"/>
> </networkConnectors>
>
> <persistenceAdapter>
> <memoryPersistenceAdapter/>
> </persistenceAdapter>
> </broker>
> </beans>
>
> Thanks!
> --
> View this message in context: http://www.nabble.com/Network-of-Brokers-using-Multicast-Discovery-t1388256.html#a3729875
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>
--
Regards,
Hiram