Is there a way to get the size (remaining messages) of a queue in rabbitmq with a simple Curl?
Something like curl -xget http://host:1234/api/queue/test/stats
curl -xget http://host:1234/api/queue/test/stats
Finally I did the trick with the following:
curl -s -i -u guest:guest http://host:port/api/queues/vhost/queue_name | sed 's/,/\n/g' | grep '"messages"' | sed 's/"messages"://g'