Skip to content
Discussion options

You must be logged in to vote

Introduce a native on‑delete evacuation mechanism: when a queue is deleted,
any remaining messages are re‑published to a specified exchange with a specified routing key

This has been discussed to death before, on the mailing list and elsewhere. The reason why RabbitMQ does not dead letter messages in a deleted queue is the following: there can be tens of millions of messages in a deleted queues, and re-publishing them can take a lot of time and resources, confuse the user, cause channel operation (queue.delete) timeouts and force applications to retry deletes.

None of those things are very helpful when a user tries to delete a queue, possibly a queue that has accidentally accumulated a …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants
Converted from issue

This discussion was converted from issue #14666 on October 02, 2025 16:49.