This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MBean question  RSS feed

 
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!