You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christopher L. Shannon (JIRA)" <ji...@apache.org> on 2015/07/14 22:01:04 UTC
[jira] [Commented] (AMQ-5887)
org.apache.activemq.jms.pool.PooledConnectionFactory should expose metrics
via JMX
[ https://issues.apache.org/jira/browse/AMQ-5887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14626962#comment-14626962 ]
Christopher L. Shannon commented on AMQ-5887:
---------------------------------------------
I can take a look at implementing AMQ-4025 when I get some time as I've been doing a lot of work with metrics and JMX recently.
> 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)