<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014/1/14 Alex L <span dir="ltr"><<a href="mailto:buzz42j@gmail.com" target="_blank">buzz42j@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>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?<br>
</div></blockquote><div><br></div><div>The arguments parameter is a dictionary. It needs to have an entry, "x-priority": [priority].</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
</div><div><br></div>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.<br>
</blockquote></div><br><div>Consumer priorities have effect between consumers on a shared queue.</div>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br><a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div></div>