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

org.apache.activemq.jms.pool.PooledConnectionFactory should expose metrics via JMX

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 5.11.1
    • Fix Version/s: None
    • Component/s: Pool
    • Labels:
      None

      Description

      The class org.apache.activemq.jms.pool.JcaPooledConnectionFactory should expose metrics via JMX.

      A suggestion would be:

      maxConnections
      numConnections

      For numConnections a calculation should be used (or it should be renamed idleConnections) as the current code returns:

      public int getNumConnections() {
      return getConnectionsPool().getNumIdle();
      }

      Also clear should be offered as an operation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jcordes Jochen Cordes
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: