activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Posta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-5076) Pooled session creation blocks when maxActive is reached
Date Thu, 27 Feb 2014 00:25:19 GMT
Christian Posta created AMQ-5076:
------------------------------------

             Summary: 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


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)

Mime
View raw message