Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 99369 invoked from network); 27 Feb 2009 20:06:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2009 20:06:20 -0000 Received: (qmail 66672 invoked by uid 500); 27 Feb 2009 20:06:20 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 66637 invoked by uid 500); 27 Feb 2009 20:06:20 -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 66626 invoked by uid 99); 27 Feb 2009 20:06:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 12:06:20 -0800 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; Fri, 27 Feb 2009 20:06:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 75961234C4A8 for ; Fri, 27 Feb 2009 12:05:59 -0800 (PST) Message-ID: <568181945.1235765159480.JavaMail.jira@brutus> Date: Fri, 27 Feb 2009 12:05:59 -0800 (PST) From: "Hiram Chirino (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-2141) activemq-flow: Various improvements to Dispatcher shutdown in MockBroker test, plus some minor performance tweaks. In-Reply-To: <1559392929.1235462219388.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hiram Chirino resolved AMQ-2141. -------------------------------- Resolution: Fixed Patch applied! Thanks! > activemq-flow: Various improvements to Dispatcher shutdown in MockBroker test, plus some minor performance tweaks. > ------------------------------------------------------------------------------------------------------------------- > > Key: AMQ-2141 > URL: https://issues.apache.org/activemq/browse/AMQ-2141 > Project: ActiveMQ > Issue Type: Improvement > Affects Versions: incubation > Environment: n/a > Reporter: Colin MacNaughton > Fix For: incubation > > Attachments: AMQ-2141patch.txt > > > Changing DispatchContext.close() to take a boolean sync parameter allowing for a more controlled shutdown. Now the MockBrokerTest shuts down services betore the dispatch pool. Also changed RemoteProducers input resume threshold to 500 to reduce the number of flow control message sent. Finally, changed FlowController not to set the thread name when executing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.