activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Setting a Master broker in a MasterSlave configuration
Date Wed, 03 Jul 2013 15:55:57 GMT
the lease database locker may help, if you configure the slave lease
to be small relative to the master, then the master will take over
from the slave.

On 2 July 2013 23:36, hbakkum <> wrote:
> Hi,
> I have set up ActiveMQ in a JDBC MasterSlave configuration. I have a use
> case where it would be useful to mark a broker as the "Master" broker which
> would always take a lock if it was owned by a slave. Is there anyway of
> doing this or something similar, e.g. some sort of order of precedence when
> brokers compete for the lock?
> I would be able to achieve this perhaps by restarting the slaves when the
> "Master" is available but does not hold the lock, however it would be much
> cleaner if I could just configure a master broker which always takes the
> lock.
> Any help would be most appreciated.
> Thanks,
> Hayden.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


View raw message