activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully" <gary.tu...@gmail.com>
Subject Re: How to catch the event when the "FAILOVER" connection goes down and swithes to another broker
Date Tue, 25 Nov 2008 13:57:16 GMT
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 <andresr@corp.moniker.com>:
> 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

Mime
View raw message