Message Count
Hi Everyone,
Is there a way we can check the number of messages moved from a queue to Dead Message Queue ?
A script which will run on daily basis with the count on number of messages moved from a queue to Dead Message queue.
Comments
-
Hi
The broker provides statistics on how many messages were removed from the queue and why .. here's a screen shot of the stats tab of a queue .. you could periodically pull this data and compare to previous pulls to track changes over a period of time.
You can either get to these statistics via the CLI or use the REST API that backs the stats tab in the Web UI.
It seems the REST API is documented here https://docs.solace.com/API-Developer-Online-Ref-Documentation/swagger-ui/monitor/index.html#/queue/getMsgVpnQueue
The CLI command to get queue stats is "show queue stats", details of this are at https://docs.solace.com/Configuring-and-Managing/Monitoring-Guaranteed-Messaging.htm1