1 Reply Latest reply on Jul 8, 2015 6:48 PM by ankurkkapadia

    pool statistics for JMS connection factory

    janssk77

      HI, i'm using MDB inside jboss 7 and was able to configure the max pool size using:

       

        <pooled-connection-factory name="hornetq-ra">

                              <transaction mode="xa"/>

                              <connectors>

                                  <connector-ref connector-name="in-vm"/>

                              </connectors>

                              <entries>

                                  <entry name="java:/JmsXA"/>

                              </entries>

                              <max-pool-size>500</max-pool-size>

                          </pooled-connection-factory>

       

       

      However, i don't find any JMX statistics to see the operational state of the pool (eg available connections). The statistics are available in the code (OnePool.java), but they are apparantly not exposed in JMX. For database pools, these statistics are exposed in JMX.

       

      Is it possible to monitor JMS connection pool sizes on AS7 ?

        • 1. Re: pool statistics for JMS connection factory
          ankurkkapadia

          using jboss-cli connect to the management port

           

          once connected please use the path below to get the runtime statistics.This works for MQ

           

          /deployment=wmq.jmsra.rar/subsystem=resource-adapters/statistics=statistics/connection-definitions=java\:jboss\/jms\/QueueConnectionFactory/:read-resource(include-runtime=true)