activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Health check Activemq
Date Mon, 29 Sep 2008 14:21:29 GMT
2008/9/22 Janesh S <janesh@tumri.com>:
>
> Hi,
>
> Is there a tool/code with which we can do health check of ActiveMQ. This is
> needed to make sure that ActiveMQ connection is fine and the queue/topic is
> ALIVE. Thanks.

If you use the Failover transport then ActiveMQ client will
automatically reconnect to the broker in case of socket failures...
http://activemq.apache.org/failover-transport-reference.html

if you want to listen to the status of the connection you can use this method
http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/ActiveMQConnection.html#addTransportListener(org.apache.activemq.transport.TransportListener)

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message