I've been trying implementing TransportListener interface and passing a
reference to ActiveMQConnectionFactory. I could see that when I launch my
application the transportResumed method is called and then the onCommand
method several times, with a WireFormatInfo object, a BrokerInfo object and
a ConnectionControl object as parameters in the different invocations. When
I turn down the master broker, I can see that the transportInterupted is
called but as this method does not receive any parameter, how can I know
what the broker that go down was? Later when I turn up the master broker
again, I can see the calls to the transportResumed and onCommand methods but
I have no hint of with broker is the one active, how can I know what the
active broker is?

Thank you



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Failover-event-tp4663180p4663230.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to