2 Replies Latest reply on Oct 1, 2012 6:24 AM by ctomc

    Management API (HTTP)

    andreroesner

      HI Together,

       

      i'd like to read the Counter Statistics from an jms-queue via the http API.

       

      I can access the queue via http:

       

       

      http://dc:9990/management/host/HOST1/server/sever1/subsystem/messaging/hornetq-server/default/jms-queue/CustomDispatcherQueue

      {"durable" : true, "entries" : ["queue/custom/dispatcher","java:jboss/exported/jms/queue/custom/dispatcher"], "selector" : null}

       

       

      But i can't execute any operations except ?operation=resource-description&recursive&operations

       

      If run this:

       

      http://dc:9990/management/host/HOST1/server/server1/subsystem/messaging/hornetq-server/default/jms-queue/CustomDispatcherQueue?operation=list-message-counter-as-json

      "JBAS015127: Invalid operation 'list-message-counter-as-json'"

       

      I can run that operation in the CLI withourt any problems...am i doing it wrong?

       

      Thanks in advance!