Check out: http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/transport/TransportListener.html
You will get an interrupted and resumed event on failover. > 2008/11/24 Andres Rangel <[EMAIL PROTECTED]>: > Hi, > > > > We have a network of brokers ( 2 nodes) servicing the clients. > > > > I would like to capture the event when one of the connections switches > from one broker to the other (because one of the > > Nodes goes down) > > > > If we use a normal transport with no reconnect option, then we can > capture the event by registering to the exceptionListener. > > > > But if is failover, how can I capture this event? > > > > > > Thanks > > > > > > > > -- > > Andres Rangel > > Sw Engineer > > Moniker.com > > > > -- http://blog.garytully.com Open Source SOA http://FUSESource.com