You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Christian Posta (JIRA)" <ji...@apache.org> on 2014/02/27 16:43:21 UTC

[jira] [Resolved] (AMQ-5076) Pooled session creation blocks when maxActive is reached

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

Christian Posta resolved AMQ-5076.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.10.0
         Assignee: Christian Posta

Fixed c3d8ca7..dc607bb

> Pooled session creation blocks when maxActive is reached
> --------------------------------------------------------
>
>                 Key: AMQ-5076
>                 URL: https://issues.apache.org/jira/browse/AMQ-5076
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: activemq-pool
>            Reporter: Christian Posta
>            Assignee: Christian Posta
>             Fix For: 5.10.0
>
>
> Pooled session creation blocks when maxActive is reached. This is configurable to either block or thrown an exception. We should maybe expose the config to the generic pool we use under the covers so it can be even more fine tuned, or at least provide a way to set a timeout on the blocking behavior so that threads don't sit and block forever.
> See http://commons.apache.org/proper/commons-pool/api-1.6/org/apache/commons/pool/impl/GenericKeyedObjectPool.html 
> and
> http://commons.apache.org/proper/commons-pool/api-1.6/org/apache/commons/pool/impl/GenericKeyedObjectPool.html#setMaxWait(long)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)