Rabbitmq — Re-queueing behavior

Seshumadhav
1 min readMay 9, 2020

When a message is re-queued, RMQ attempts to place it at its original position in its queue.

It may not always succeed in doing so due to concurrent deliveries and acknowledgments from other consumers (when multiple consumers share a queue). In such cases, the message will be re-queued to a position closer to queue head.

References

https://www.rabbitmq.com/nack.html | https://stackoverflow.com/a/37711507/1549119

--

--