You can use the TransportListener to be notified when the transport
has been suspended & resumed and to see all exceptions and commands
which pass over the transport...

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

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

On 6/29/06, Walace Rocha <[EMAIL PROTECTED]> wrote:

I develop an application that uses ActiveMQ.
I implemented the interface javax.jms.ExceptionListener to see when the
broker goes down to inform the user.
The problem is that now I am using the failover and it do not raise the
JMSException when the broker goes down.
I would like to know if exists another possibility to see when a broker is
down and when it is up again using the failover.
--
View this message in context: 
http://www.nabble.com/Failover-does-not-raise-JMSException-tf1867274.html#a5102037
Sent from the ActiveMQ - User forum at Nabble.com.




--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to