Hi, I am using ActiveMQ 5.8. I have consumer app which is running on one server1 and the ActiveMQ is running on another server2 now what happen is because of some network problem ActiveMQ is not available to consumer app and getting below error
*javax.jms.JMSException: Could not connect to broker URL: tcp://server2:61616. Reason: java.net.ConnectException: Connection timed out: connect at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:308) * and through jconsole I connected to ActiveMQ in server2 and I saw ConsumerCount 1 for queue even there is no consumer i.e consumer disconnected because of network problem. After establishing network between server1(consumer app) and server2(ActiveMQ) I am getting below error *javax.jms.InvalidClientIDException: Broker: localhost - Client: consumerClient already connected from tcp://10.30.31.41:54251* After restarting ActiveMQ it came to normal. Is there anyway to avoid this case without restarting ActiveMQ? Thanks, Vamsi. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Connection-failed-when-network-failed-tp4677455.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.