Reputation: 133
Is there a way how to get notification from RabbitMQ if a message is waiting in queue for a long time?
Upvotes: 1
Views: 789
Reputation: 107367
A common and standard solution to ensure that a delivery latency requirement is met is to set a Time To Live (TTL) on the message, and if this expires, this will be moved to the Dead Letter Queue where you can perform compensating actions.
TTL can be defined
If both the queue and the message have the TTL set, then the lower latency will be policed.
Upvotes: 1