Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7467590BE for ; Thu, 26 Jan 2012 22:20:04 +0000 (UTC) Received: (qmail 75752 invoked by uid 500); 26 Jan 2012 22:20:04 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 75653 invoked by uid 500); 26 Jan 2012 22:20:03 -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 75645 invoked by uid 99); 26 Jan 2012 22:20:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2012 22:20:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2012 22:20:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6B083165237 for ; Thu, 26 Jan 2012 22:19:40 +0000 (UTC) Date: Thu, 26 Jan 2012 22:19:40 +0000 (UTC) From: "Timothy Bish (Resolved) (JIRA)" To: dev@activemq.apache.org Message-ID: <625060747.83037.1327616380442.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1068209760.82971.1327614704425.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (AMQ-3683) Enhance the InactivityMonitor shutdown logic MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish resolved AMQ-3683. ------------------------------- Resolution: Fixed Fix applied in trunk > Enhance the InactivityMonitor shutdown logic > -------------------------------------------- > > Key: AMQ-3683 > URL: https://issues.apache.org/jira/browse/AMQ-3683 > Project: ActiveMQ > Issue Type: Improvement > Components: Transport > Affects Versions: 5.5.1 > Reporter: Timothy Bish > Assignee: Timothy Bish > Priority: Trivial > Fix For: 5.6.0 > > > The read and write check methods in AbstractInactivityMonitor should be checking the monitorStarted value to ensure that they don't attempt to execute unnecessary read and write check events into the ASYNC_TASKS executor. The effect of the extra checks during shutdown doesn't break anything but can result in a longer time to shutdown the transport and more logging for no reason. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira