Re: Detecting the connection to activemq is down using spring DefaultMessageListenerContainer

2014-01-08 Thread artnaseef
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

Re: Detecting the connection to activemq is down using spring DefaultMessageListenerContainer

2014-01-02 Thread salemi
If the network connection to the server is down I can't use JMX to connect to ActiveMQ netiher! -- View this message in context: http://activemq.2283324.n4.nabble.com/Detecting-the-connection-to-activemq-is-down-using-spring-DefaultMessageListenerContainer-tp4675825p4675931.html Sent from the

Re: Detecting the connection to activemq is down using spring DefaultMessageListenerContainer

2013-12-24 Thread Jose MarĂ­a Zaragoza
2013/12/24 salemi alireza.sal...@udo.edu: We have the requirement that if the connection between consumer an AMQ has been down for 1 hours then we have to take some action in our application. That is why we need to know if connection between DMLC is down. I don't know how your app works , but

Detecting the connection to activemq is down using spring DefaultMessageListenerContainer

2013-12-23 Thread salemi
Hi , is there a way to detect that the connection to activemq is down using spring DefaultMessageListenerContainer. Thanks, Ali -- View this message in context:

Re: Detecting the connection to activemq is down using spring DefaultMessageListenerContainer

2013-12-23 Thread Christian Posta
maybe you can explain more about what you're trying to do... DMLC acts kinda like the consumer for messages... connections are handled by the connection pool or connection factory. what are you trying to accomplish by having the consumer detect whether or not there's a connection failure? On Mon,

Re: Detecting the connection to activemq is down using spring DefaultMessageListenerContainer

2013-12-23 Thread salemi
We have the requirement that if the connection between consumer an AMQ has been down for 1 hours then we have to take some action in our application. That is why we need to know if connection between DMLC is down. Thanks, Ali -- View this message in context: