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, 2009 at 7:12 PM, farshad <teez_ho...@hotmail.com> wrote: > > Hi, > > I am new to ActiveMQ and am trying to use it in a distributed way. I > statically define my brokers as: > > <networkConnectoruri="static://(tcp://host1:61616,tcp://host2:61616,tcp://host3:61616,tcp://host4:61616)"/> > > And > <transportConnector name="openwire" uri="tcp://localhost:61616" /> > > I connect to host1 and place some messages in a queue. I want to shut down > host1 and be able to be a producer and consumer of that same queue > connecting to a different broker. Can I do that? What is the failover > machanism? > > Thank you in advance > > -- > View this message in context: > http://www.nabble.com/Distributed-brokers-and-faiovers-tp25716906p25716906.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >