activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PieterN <>
Subject Re: How to check if the broker your connected to is still running?
Date Tue, 25 Sep 2007 08:53:13 GMT

mythz wrote:
> How can I check that the broker I'm listening on is still running?
> I have a master slave setup where if master broker goes down one of the
> slaves takes over. The problem is that the listener does not reconnect to
> the new master broker.
> So how can the listener check to see if the broker they are connected to
> is still alive?
You will probably get a network error if the broker dies. You should catch
these errors and reconnect.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message