You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2012/11/07 13:31:12 UTC

[jira] [Reopened] (AMQ-4019) Make better use of commons-pool in activemq-pool

     [ https://issues.apache.org/jira/browse/AMQ-4019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully reopened AMQ-4019:
-----------------------------


seems there has been a regression with the xa pool, it was using a method override as a hook into creating xa sessions and enlisting but that is no longer called:
http://mail-archives.apache.org/mod_mbox/activemq-users/201211.mbox/%3C1352238611425-4658865.post@n4.nabble.com%3E

points to the need for some more xa tests and an @Override i guess.
                
> 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, 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