I am looking to be able to move messages between queues (manually) in Rabbit.
For instance:
first-queue has messages ['a','b','c','d','e','f']
second-queue has messages ['x','y']
I want to be able to move, for example, the message 'a' to the second order from the first order. It can be handmade. Both queues are in the same broker, and I do not want to send them through any exchange. Is there any way to do this? I play with rabbitmqctl but cannot make it work. I am open to any other tools that would allow me to accomplish this. In the end, I hope you have some sort of message selector (for example, move all messages with some header field = X from the queue of the queue to the second place).
I'm still new to rabbitmq and amqp, but could not find documentation on how to do this (if possible).
Thank.
source
share