activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marko111 <>
Subject Consumer stops receiving messages after about 30 minutes
Date Thu, 22 Apr 2010 15:14:35 GMT


I am using ActiveMQ broker (v 5.3.1) and NMS clients. 

Consumer is subscribed to topic and uses asynchronous message receiving.
However problem appears when consumer is idle for about 30 minutes, that is
consumer stops receiving messages after it has been idle for approximately
30 minutes. 

This problem does not appear when both clients and broker are running on
same machine.

I have set maxInactivityDuration to 0.

I have also set handlers for ConnectionInterruptedListener,
ConnectionResumedListener and ExceptionListener but no events are fired. 

After I close consumer application ACTIVEMQ console does report one consumer

Here is transport connector configuration element in activemq.xml:

  <transportConnector name="openwire" 

and client connects by using following uri:


Any idea why is this happening?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message