Re: Distributed brokers and faiovers

2009-10-06 Thread Dejan Bosanac
Hi, if you use failover URI like failover:(tcp://host1:61616, tcp://host2:61616) in your ActiveMQConnectionFactory, it will pick one of these brokers and try to connect. If it fails (or the connection is dropped later) it will try another one. Cheers -- Dejan Bosanac - http://twitter.com/dejanb

Re: Distributed brokers and faiovers

2009-10-05 Thread farshad
Hi Dejan, Thanks for the reply. On the link you sent I read: "The Failover configuration syntax allows you to specify any number of composite uris. The Failover transport randomly chooses one of the composite URI and attempts to establish a connection to it. If it does not succeed or if it subs

Re: Distributed brokers and faiovers

2009-10-05 Thread Dejan Bosanac
Hi, check out failover transport http://activemq.apache.org/failover-transport-reference.html Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Fri, Oct 2,