[rabbitmq-discuss] Consumer Priorities in Python

Alex L buzz42j at gmail.com
Tue Jan 14 17:17:02 GMT 2014


I'm trying to implement Consumer Priorities into a test program in Python,
similar to what is going on in here:
the example is done in Java).

>From looking at the code that's been modified, it looks like that I need to
change the 'arguments' variable in basicConsume to be some 'x-priority'
variable. Can something similar be done in Python (perhaps using pika 0.9.8
that was used in the tutorials?), and if so how?

>From searching on the internet, I've seen that others have tried to use
multiple queues for different priorities, but that seems more like just
using a direct fanout exchange compared to this method.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140114/9f8ef1b4/attachment.html>

More information about the rabbitmq-discuss mailing list