[rabbitmq-discuss] Reordering messages

Dimitri del Marmol tontondimsum at gmail.com
Fri Jan 21 14:36:27 GMT 2011

> Put the two categories of messages onto two separate queues, and write
> your application to preferentially consume from the higher priority
> queue.

I actually toyed with the idea but I have trouble imagining what the
listener(s) would look like: should one listener subscribe to both
queues? If so, it will have to know when to ignore the low priority
callback (because the high priority queue is not empty)

More information about the rabbitmq-discuss mailing list