We have faced this issue with ActiveMQ-5.10, in our case: After broker restart consumer does not seem to be able to recover and forever throws below exception:
[ 2014-12-19 00:00:06,176 [securityEventDataSubscriberContainer-4105] listener.DefaultMessageListenerContainer.handleListenerSetupFailure():842 WARN ]: Setup of JMS message listener invoker failed for destination 'topic://check.newSecurityPublish' - trying to recover. Cause: org.apache.activemq.ConnectionFailedException: The JMS connection has failed: Connection refused Please check this, is is some sort of race condition, which cannot be reproducible. It happens sometime and get fixed after client side restart. Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/After-broker-restart-forever-seeing-javax-jms-IllegalStateException-The-Session-is-closed-exceptions-tp4684560p4689159.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.