activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <...@artnaseef.com>
Subject Re: Detecting the connection to activemq is down using spring DefaultMessageListenerContainer
Date Wed, 08 Jan 2014 19:10:36 GMT
Is there a need to couple the connection's transport listener to the spring
DMLC?

It should be easy enough to create a connection listener and attach it to
the connections via the connection factory.  See the setTransportListener()
method of the ActiveMQConnectionFactory.  Note that if you use the same
method on an already-open connection (ActiveMQConnection), it's possible to
miss one of the events.




--
View this message in context: http://activemq.2283324.n4.nabble.com/Detecting-the-connection-to-activemq-is-down-using-spring-DefaultMessageListenerContainer-tp4675825p4676127.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message