You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by test4john <te...@yahoo.com> on 2010/07/22 17:38:52 UTC

How to detect availability of inactive broker?

Say two brokers, one is active as the master (e.g. holding the exclusive lock
to back end DB), the other is trying to get the lock to be the master.

If the second one for some reason is down, then after some time when the
master is down, there is no one to resume the work!

So question is: how to detect the availability of the inactive broker? as it
is inactive, it is not able to process messages, right?? so it is not
feasible to try to send it msg to test its liveness ..

please share your thoughts.

-- 
View this message in context: http://old.nabble.com/How-to-detect-availability-of-inactive-broker--tp29238206p29238206.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: How to detect availability of inactive broker?

Posted by Vjaceslavs Klimovs <vk...@gmail.com>.
You could perhaps use JMX to monitor inactive broker? 

http://activemq.apache.org/jmx.html

On Thu, 22 Jul 2010 08:38:52 -0700 (PDT)
test4john <te...@yahoo.com> wrote:

> 
> Say two brokers, one is active as the master (e.g. holding the
> exclusive lock to back end DB), the other is trying to get the lock
> to be the master.
> 
> If the second one for some reason is down, then after some time when
> the master is down, there is no one to resume the work!
> 
> So question is: how to detect the availability of the inactive
> broker? as it is inactive, it is not able to process messages,
> right?? so it is not feasible to try to send it msg to test its
> liveness ..
> 
> please share your thoughts.
>