Hi, 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 less. Here is transport connector configuration element in activemq.xml: <transportConnector name="openwire" uri="tcp://0.0.0.0:61616?wireFormat.maxInactivityDuration=0&keepAlive=true" discoveryUri="multicast://default"/> and client connects by using following uri: "failover:(tcp://somehost:61616?wireFormat.maxInactivityDuration=0)" Any idea why is this happening? -- View this message in context: http://old.nabble.com/Consumer-stops-receiving-messages-after-about-30-minutes-tp28330295p28330295.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.