On 5/8/07, Dingwen Yuan <[EMAIL PROTECTED]> wrote:
But what is the programmable way to know it?

Try the TransportListener which gets notified when connections to a
broker start/stop/fail etc

http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/ActiveMQConnection.html#addTransportListener(org.apache.activemq.transport.TransportListener)

http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/transport/TransportListener.html


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

Reply via email to