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 <[email protected]> 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. >
