2008/9/22 Janesh S <[EMAIL PROTECTED]>:
>
> 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

Reply via email to