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)

Reply via email to