Curl to get Rabbitmq queue size

前端 未结 5 1963
花落未央
花落未央 2021-02-05 09:47

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

5条回答
  •  渐次进展
    2021-02-05 10:16

    I appreciate this is an old post & that the question specifically states using "curl" but thought it might be useful to add that the "rabbitmqctl list_queues" command provides the message count for each queue

提交回复
热议问题