So I am pretty new to the whole JMX thing but I am trying to do a simple little java app that can connect to my weblogic server and grab an attribute from the server instance. In this case I want the MessagesCurrentCount from the JMSServerRuntimeMBean. I can't find any code examples on how to get a particular mbean for a particular jms server and then query it for attributes. I have kind of pulled some code from a few examples for other things and tried to make it work... If anyone can explain how this works and maybe give me some working code to look at