Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JBoss and the fly likes How to programmatically determine the JMS Queue depth (JBoss App Server) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply 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: 8147
    
  52

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]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to programmatically determine the JMS Queue depth (JBoss App Server)
 
Similar Threads
JMS queue in JBOSS server programmatically
Get destination Queue from ListenerPort
Websphere: get destination Queue from ListenerPort
JMS Provider
Difference between JMS Queue and MQ queue