I'm looking for a correct way to know when queues are idle.
"idle" = no messages were published for a predefined amount of time.
How can I use the /api/queues (or other API) for that?
I'm looking for a correct way to know when queues are idle.
"idle" = no messages were published for a predefined amount of time.
How can I use the /api/queues (or other API) for that?
I am not sure your approach is totally correct since the statistics on the UI aren't in real-time and the value
idleindicates the generic queue activities.btw you can use the
idle_sincefield: