RE: [Qpid Java Broker] How to get the number of messages in a queue using REST api

2016-05-17 Thread Adel Boutros
Thank you Rob, I will try that. Adel > Date: Tue, 17 May 2016 11:55:42 +0100 > Subject: Re: [Qpid Java Broker] How to get the number of messages in a queue > using REST api > From: rob.j.godf...@gmail.com > To: users@qpid.apache.org > > Hi Adel, > > > within t

Re: [Qpid Java Broker] How to get the number of messages in a queue using REST api

2016-05-17 Thread Rob Godfrey
Hi Adel, within the JSON results object brought back for the queue is a "statistics" section... here's an example from my local broker (running curl http://localhost:8080/api/latest/queue/default/default/queue): "statistics" : { "bindingCount" : 0, "consumerCount" : 1, "consumer

[Qpid Java Broker] How to get the number of messages in a queue using REST api

2016-05-16 Thread Adel Boutros
Hello, I was wondering how can I use the REST api of the Qpid Java Broker to get the number of messages which are currently in the broker and which any consumer can receive? >From the web console, this is represented by the "depth" field of a queue, >right? Regards,Adel