activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Siegenthaler" <>
Subject Re: Connecting To Master
Date Sat, 22 Sep 2007 20:56:32 GMT
If you're using ActiveMQs master-slave then a slave will never have
it's transport connector up. This is archived by a database lock or
file lock or by having the slave checking the master (pure master
slave). See
So you can just use the failover protocol with all possible masters
(in your case failover:(tcp://serverC:61616,tcp://serverB:61616)) on
your serverA


On 9/21/07, LizNJ <> wrote:
> I have a broker on one server (serverA) that needs to connect to a broker on
> a set of servers (serverB or ServerC). At any given time either B or C will
> be the master and the other will be slave. How can I connect my broker on A
> so that once it connects to the master it does not continuously attempt to
> reconnect to the slave until the master goes down.
> Liz
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message