🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
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