Ad Widget

Collapse

Issues with JMX

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alex_SYB
    Senior Member
    • Feb 2012
    • 133

    #1

    Issues with JMX

    Hi

    I am trying to grab a attribute from jvm, I can currently get other values so I am pretty sure my setup is working

    This is the object viewed via jconsole
    objectname : org.hornetq:module=Core,type=Address,name="jms.que ue.esb.error.queue"

    attribute I am after is : AddressSizeInBytes

    which i translate into

    jmx["org.hornetq:module=Core,type=Address,name=jms\.to pic\.ima\.topic\.PriceBook","AddressSizeInBytes"]

    but it fails, I haven't seen module= used before

    I have 2.0.4-1

    Alex
  • Slash
    Member
    • May 2011
    • 64

    #2
    You should try this :

    jmx["org.hornetq:module=Core,type=\"Address,name=jms.t o pic.ima.topic.PriceBook\"",AddressSizeInBytes]

    You need backslash before double quote, but not before dot.

    Comment

    Working...