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-tp4656248p46562
Hi,
I am new to JMS. I am using Apache ActiveMQ, and need to run my JMS consumer
as a standalone JAVA program indefinitely. Right now if i run it
asynchronously, after some 158 mins., it gives an exception that it was too
long in idle mode and exits.
I want a way for it to keep it running continou