activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tlholoe, Peter" <PTlho...@fnb.co.za>
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

Regards,


-----Original Message-----
From: Kapoor, Vaibhav [mailto:vaibhav.kapoor@razorsight.com] 
Sent: 10 September 2012 09:43 PM
To: users@activemq.apache.org
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" <mayank_agarwal@persistent.co.in>
To: "users@activemq.apache.org" <users@activemq.apache.org>
Subject: How to indefinitely run a JMS consumer?
Date: Mon, Sep 10, 2012 2:19 pm



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



--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-indefinitely-run-a-JMS-consumer-tp4656248.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
To read FirstRand Bank's Disclaimer for this email click on the following address or copy
into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

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

Mime
View raw message