activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PieterN <service...@internethoofdkantoor.nl>
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.

Regards,

Pieter
-- 
View this message in context: http://www.nabble.com/How-to-check-if-the-broker-your-connected-to-is-still-running--tf4503821s2354.html#a12875496
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message