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: Re: Way to know whether failover client is connecting?
Date Wed, 09 May 2007 15:13:54 GMT
On 5/8/07, Dingwen Yuan <pdvyuan@gmail.com> 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/

Mime
View raw message