This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes How to programmatically determine the JMS Queue depth (JBoss App Server) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to programmatically determine the JMS Queue depth (JBoss App Server)" Watch "How to programmatically determine the JMS Queue depth (JBoss App Server)" New topic
Author

How to programmatically determine the JMS Queue depth (JBoss App Server)

Sean Doherty
Greenhorn

Joined: Apr 29, 2009
Posts: 13
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.

Any suggestions will be immensely appreciated :-)

Thanks.
Sean Doherty
Greenhorn

Joined: Apr 29, 2009
Posts: 13
Any response anyone? :-)
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9962
    
163

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


[My Blog] [JavaRanch Journal]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to programmatically determine the JMS Queue depth (JBoss App Server)
 
Similar Threads
Difference between JMS Queue and MQ queue
Websphere: get destination Queue from ListenerPort
Get destination Queue from ListenerPort
JMS queue in JBOSS server programmatically
JMS Provider