Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5076

Pooled session creation blocks when maxActive is reached

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.10.0
    • Pool
    • None

    Description

      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)

      Attachments

        Activity

          People

            ceposta Christian Posta
            ceposta Christian Posta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: