Thanks Peter, That was exactly the problem I was facing and by setting the wireFormat.maxInactivityDuration=0 on my connection URL, it solved my issue.
Regards, Mayank -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-indefinitely-run-a-JMS-consumer-tp4656248p4656296.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.