You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2014/06/13 16:33:01 UTC
[jira] [Resolved] (AMQ-5226) When create on start is set to true,
the JMS Pool can return the same connection twice in a row
[ https://issues.apache.org/jira/browse/AMQ-5226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-5226.
-------------------------------
Resolution: Fixed
Created a bit of a workaround the ensure that we always return the created instance as the pool grows. It's a bit of a hack but it gets us around some of the abuses we do to commons-pool
> When create on start is set to true, the JMS Pool can return the same connection twice in a row
> -----------------------------------------------------------------------------------------------
>
> Key: AMQ-5226
> URL: https://issues.apache.org/jira/browse/AMQ-5226
> Project: ActiveMQ
> Issue Type: Bug
> Components: activemq-pool
> Affects Versions: 5.9.0, 5.9.1, 5.10.0
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 5.11.0
>
>
> When the PooledConnectionFactory is configured to create connection on start, it can return the same connection twice in a row before moving on to returning other new connections which violates the round robin policy when there is more than one connection configured for pooling.
--
This message was sent by Atlassian JIRA
(v6.2#6252)