That curl command is trying to read a JMX MBean, which may be a better way
to get what you want.

Getting stats from the statisticsBrokerPlugin is a different process:
* Send a message to the ActiveMQ.Statistics.Destination.<destname> queue
or topic (same as the <destname> destination type)
* Set the reply-to header of that message to another destination (such as
a queue)
* Read the reply from the queue

>
>
> Do I have to turn this on? I used the curl command with the following:
>
> curl -u admin:admin
> http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Queue,destinationName=Test1/QueueSize
>
>  I get no answer. (I'm using activemq-all-5.10-SNAPSHOT.jar)
>
>
>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://activemq.2283324.n4.nabble.com/Queue-Size-with-STOMP-tp4679543p4679611.html
> To start a new topic under ActiveMQ - Dev, email
> [email protected]
> To unsubscribe from ActiveMQ - Dev, visit
> http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2368404&code=YXJ0QGFydG5hc2VlZi5jb218MjM2ODQwNHwtMjA1NDcyNjY5MQ==






--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Queue-Size-with-STOMP-tp4679543p4679614.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to