bansalp <mailto:[email protected]> 1 October 2014 12:45 AMQGods Please help,I have a system which is using failover uri mechanism with master-slave architecture (when primary runs, failover waits on lock and when failover run primary wait on lock on kahadb).I need my clients to know when there is a problem with connection to broker.Whenever primary goes down failover takes over and clients get connected tofailover broker. I want my clients to know that primary is down and similarly when failover goes down my client should know about it. What is the recommended way to do it? Please help, I really need answer to this quickly. Thanks --View this message in context: http://activemq.2283324.n4.nabble.com/Notification-of-connection-down-between-broker-and-client-tp4686035.htmlSent from the ActiveMQ - User mailing list archive at Nabble.com.
You could drop into ActiveMQ specific code - cast you Connection to an
ActiveMQConnection and add a TransportListener to get notifications of
the underlying transport events
see
http://activemq.apache.org/maven/apidocs/org/apache/activemq/ActiveMQConnection.html
and
http://activemq.apache.org/maven/apidocs/org/apache/activemq/transport/TransportListener.html
- Notification of connection down between broker and client? bansalp
- Re: Notification of connection down between broker an... Marco Sacchetto
- Re: Notification of connection down between broker an... Andreas Gies
- Re: Notification of connection down between broker an... Rob Davies
