activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: Network of Brokers using Multicast Discovery
Date Mon, 03 Apr 2006 18:32:49 GMT
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 <amerigo5@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

Mime
View raw message