1 Reply Latest reply on Dec 11, 2012 10:26 AM by Tomaz Cerar

    How to read an attribute using ModelNode API ?

    Mylos Kathos Master

      Hi all !

      I'd need to read some attributes at runtime using JBoss Client's Model Node API.

      Specifically I'd need to read an attribute from HornetQ server:

       

      /subsystem=messaging/hornetq-server=default/jms-queue=ExampleQueue/:read-attribute(name=message-count,include-defaults=true)

       

      Can anybody give me a clue how to set up a ModelNode query to read this attribute ?

      Thanks

      Mylos