/
Move RabbitMQ messages between queues
Move RabbitMQ messages between queues
There are several reasons why it might be useful to move messages around. This includes quarantining messages which have ended up on a dead letter queue or sending messages to an alternative exchange / queue for further processing.
Use RabbitMQ’s shovel plugin
Go to the shovel management interface
{RABBIT_MQ_HOST}/#/dynamic-shovels
.Under add a new shovel:
enter the source and destination queue
it’s usually desirable to set the
Auto-delete
option to “After initial length transferred” unless this is a repeated task.Setting the
Acknowledgement mode
to “On publish” seems to be needed for simple queue->queue movesclick
Add shovel
to save the shovel
Related pages
Slack: https://hee-nhs-tis.slack.com/
Jira issues: https://hee-tis.atlassian.net/issues/?filter=14213