[rabbitmq-discuss] Priority queue doesn't seem to work

kevin lettier lettier.kevin at gmail.com
Tue May 20 09:30:11 BST 2014


Hi,

I'm using Rabbitmq 3.3.1 that I upgraded from version 3.2.4
I installed rabbitmq-priority-queue plugin, enable it, and finally restart
Rabbitmq server.
When I list rabbitmq plugins I see => [E] rabbitmq_priority_queue
3.3.x-27a9492d

When I'm running Java example from GitHub (with 'x-max-priority' arg set on
queue) the messages are received in the same order as I sent them.

See output:
Sent message with priority 3
Sent message with priority 0
Sent message with priority 5
Sent message with priority 10
Received message with priority 3
Received message with priority 0
Received message with priority 5
Received message with priority 10

Any idea what I'm doing wrong ?

Thanks,

Kévin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140520/d7daa041/attachment.html>


More information about the rabbitmq-discuss mailing list