Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 61799 invoked from network); 2 Aug 2010 14:22:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Aug 2010 14:22:07 -0000 Received: (qmail 5946 invoked by uid 500); 2 Aug 2010 14:22:07 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 5748 invoked by uid 500); 2 Aug 2010 14:22:04 -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 5726 invoked by uid 99); 2 Aug 2010 14:22:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 14:22:03 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.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; Mon, 02 Aug 2010 14:21:57 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OfvtY-0001Hu-CJ for users@activemq.apache.org; Mon, 02 Aug 2010 07:21:36 -0700 Message-ID: <29325766.post@talk.nabble.com> Date: Mon, 2 Aug 2010 07:21:36 -0700 (PDT) From: vv To: users@activemq.apache.org Subject: ActiveMQ Transport Listener not called when LAN cable disconnect/Network Unreachable MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: vanisathish@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, We are using ActiveMQ Transport Listener to receive "Transport INterrupted/Resumed" from an ActiveMQ Consumer.But when the Network is unreachable to the producer, the transport interrupted handler is not getting called. Even adjusting the tcp timeout setting in kernel doesnt help. However when the producer is shutdown, the transport interrupt is getting called..We've enabled failover on the connection. How do we detect that the connection to the broker is lost?. Can we have both the TransporrtListener & Exception Listener registered at the same to a connectionfactory. -- View this message in context: http://old.nabble.com/ActiveMQ-Transport-Listener-not-called-when-LAN-cable-disconnect-Network--Unreachable-tp29325766p29325766.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.