Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 13415 invoked from network); 22 Apr 2010 15:15:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Apr 2010 15:15:01 -0000 Received: (qmail 24016 invoked by uid 500); 22 Apr 2010 15:15:01 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 23973 invoked by uid 500); 22 Apr 2010 15:15:01 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 23965 invoked by uid 99); 22 Apr 2010 15:15:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 15:15:01 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 15:14:55 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1O4y6t-0002Xr-Bb for users@activemq.apache.org; Thu, 22 Apr 2010 08:14:35 -0700 Message-ID: <28330295.post@talk.nabble.com> Date: Thu, 22 Apr 2010 08:14:35 -0700 (PDT) From: Marko111 To: users@activemq.apache.org Subject: Consumer stops receiving messages after about 30 minutes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: markoforge@yahoo.com 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: 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.