You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jochen Cordes (JIRA)" <ji...@apache.org> on 2015/07/14 21:39:04 UTC
[jira] [Created] (AMQ-5887)
org.apache.activemq.jms.pool.PooledConnectionFactory should expose metrics
via JMX
Jochen Cordes created AMQ-5887:
----------------------------------
Summary: org.apache.activemq.jms.pool.PooledConnectionFactory should expose metrics via JMX
Key: AMQ-5887
URL: https://issues.apache.org/jira/browse/AMQ-5887
Project: ActiveMQ
Issue Type: Improvement
Components: activemq-pool
Affects Versions: 5.11.1
Reporter: Jochen Cordes
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)