How to programmatically determine the JMS Queue depth (JBoss App Server)
Sean Doherty
Greenhorn
Joined: Apr 29, 2009
Posts: 13
posted
0
Hi All,
I need to see how i can programmatically get the JMS Queue depth in JBoss. Specifically need to know if any such APIs are available. I know through the jmx-console i can check the queue depth.
I know through the jmx-console i can check the queue depth.
The jmx-console is an web-interface of accessing the MBeans available in JBoss. Whatever MBeans are accessible in JBoss can also be queried programatically. See this for an example. The rest of the JMX related FAQ on JBoss is here