[rabbitmq-discuss] Priority Queue with RabbitMQ

Simon MacMullen simon at rabbitmq.com
Tue May 6 11:05:02 BST 2014


On 02/05/2014 23:22, Eknath Iyer wrote:
> To jump on this conversation,

Note that the conversation is 2.5 years old now :-)

> let's say there is 2 messages in "high" and "med" each. consumer c1 is
> subscribed to both of them.
> let's say "med" got both the messages first, so it sends 1 it to c1. But
> before "med" sends the next message to c1, how would you configure
> "high" to send both its messages to c1.
>
> I'm not looking to pre-empt c1's processing of the first "med" message,
> but definitely process "high" messages before "med".

That is definitely a problem with this approach.

Note that real priority queues are coming soon:

https://github.com/rabbitmq/rabbitmq-priority-queue

Cheers, Simon



More information about the rabbitmq-discuss mailing list