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
As much as I love hacky sed one-liners this is probably the cleanest solution:
curl -s -u : http://:/api/queues// | jq .messages