• Post Reply Bookmark Topic Watch Topic
  • New Topic

MBean question

 
Michael Drona
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!