I figured out a way to get what I needed. I was indeed able to retrieve the ServerPeer
MXBean and then get the "MessageStatistics" attribute from it.
Here's the code I used in case someone is looking for it:
|
| MBeanServerConnection server =
| (MBeanServerConnection)
context.lookup("jmx/invoker/HttpAdaptor");
| ObjectName serverPeerName = new
ObjectName("jboss.messaging:service=ServerPeer");
| ArrayList<MessageStatistics> attr =
| (ArrayList<MessageStatistics>) server.getAttribute(serverPeerName,
"MessageStatistics");
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178629#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...