activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tlholoe, Peter" <>
Subject RE: How to indefinitely run a JMS consumer?
Date Tue, 11 Sep 2012 05:59:28 GMT
This looks like an inactivity monitor closing down the transport associate with a connection.
What error are you getting ?
Is it something along these lines : "Channel was inactive for too (>30000) long" and the
error is org.apache.activemq.transport.InactivityIOException:
Then you might have to disable the InactivityMonitor by setting the wireFormat.maxInactivityDuration=0
on your connection URL


-----Original Message-----
From: Kapoor, Vaibhav [] 
Sent: 10 September 2012 09:43 PM
Subject: Re: How to indefinitely run a JMS consumer?

Check if the clock in the consumer and broker is in sync

Sent from my HTC

----- Reply message -----
From: "mayank_agarwal" <>
To: "" <>
Subject: How to indefinitely run a JMS consumer?
Date: Mon, Sep 10, 2012 2:19 pm


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 continously.
Can anyone help me?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at
To read FirstRand Bank's Disclaimer for this email click on the following address or copy
into your Internet browser: 

If you are unable to access the Disclaimer, send a blank e-mail to and we will send you a copy of the Disclaimer.

View raw message