Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 34782 invoked from network); 21 Dec 2009 04:23:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Dec 2009 04:23:17 -0000 Received: (qmail 42339 invoked by uid 500); 21 Dec 2009 04:23:17 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 42263 invoked by uid 500); 21 Dec 2009 04:23:17 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 42242 invoked by uid 99); 21 Dec 2009 04:23:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 04:23:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 04:23:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D1C95234C04C for ; Sun, 20 Dec 2009 20:22:53 -0800 (PST) Message-ID: <1863616131.1261369373856.JavaMail.jira@brutus> Date: Sun, 20 Dec 2009 20:22:53 -0800 (PST) From: "Sebastien Rodriguez (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQNET-212) Add an Inactivity Monitor to the Transports layer to timeout broken connections In-Reply-To: <1068276749.1258983712696.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQNET-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebastien Rodriguez updated AMQNET-212: --------------------------------------- Attachment: InactivityMonitor.diff Initial implementation of the Inactivity monitor, based on the logic introduced in the java an cpp version. We still need to create the related unit tests. Tested with network of brokers in failover mode over network, unplugging the computer with the broker im connected to works. This should solve the issue https://issues.apache.org/activemq/browse/AMQNET-211 > Add an Inactivity Monitor to the Transports layer to timeout broken connections > ------------------------------------------------------------------------------- > > Key: AMQNET-212 > URL: https://issues.apache.org/activemq/browse/AMQNET-212 > Project: ActiveMQ .Net > Issue Type: Improvement > Components: ActiveMQ > Affects Versions: 1.2.0 > Reporter: Timothy Bish > Assignee: Timothy Bish > Fix For: 1.2.0 > > Attachments: InactivityMonitor.diff > > > In order to more quickly detect broken connections between client and broker the NMS.AcitveMQ client needs to add an InactivityMonitor transport filter that deals with the keep alive messages that allow for detection of broken sockets. Right now a broken connection such as one that occurs when a cable is pulled isn't detected and the client can sit idle instead of failing over if there's no outbound messages to trigger a failed write. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.