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 482B0D9E9 for ; Tue, 4 Sep 2012 23:34:09 +0000 (UTC) Received: (qmail 73142 invoked by uid 500); 4 Sep 2012 23:34:09 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 72910 invoked by uid 500); 4 Sep 2012 23:34:08 -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 72710 invoked by uid 99); 4 Sep 2012 23:34:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 23:34:08 +0000 Date: Wed, 5 Sep 2012 10:34:08 +1100 (NCT) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: <1113233894.35757.1346801648437.JavaMail.jiratomcat@arcas> In-Reply-To: <1291990045.33632.1346781427601.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (AMQ-4019) Make better use of commons-pool in activemq-pool MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish updated AMQ-4019: ------------------------------ Attachment: AMQ4019Patch.txt Updated patch, some fixes and more tests. > Make better use of commons-pool in activemq-pool > ------------------------------------------------ > > Key: AMQ-4019 > URL: https://issues.apache.org/jira/browse/AMQ-4019 > Project: ActiveMQ > Issue Type: Improvement > Components: activemq-pool > Affects Versions: 5.6.0 > Reporter: Timothy Bish > Assignee: Timothy Bish > Priority: Minor > Fix For: 5.7.0 > > Attachments: AMQ4019Patch.txt, AMQ4019Patch.txt > > > Currently activemq-pool uses only a tiny portion of the functionality that's available in commons-pool opting instead to reinvent a lot of things that now exists there such as keyed object pools. We can refactor the current codebase to better use common-pool. This allows for easily adding features like enabling async checks for Connections that have idled out and removing them from the pool as well as adding more diagnostic methods to our API and using a well tested pooling backend instead of our own custom code. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira