<div dir="ltr"><div>No consumer exists when I sent the messages, I put a break point in the code and see that messages are correctly enqueue (I see them in Management plugin) and dequeue when I continue the execution of the program.<br>
</div>I tried Reset Rabbitmq on my server and re-configure it but nothing change.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-20 11:06 GMT+02:00 Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 20/05/14 10:01, kevin lettier wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I use the Java example so the queue was created once with<br>
'x-max-priority' arg set to 10<br>
I deleted the queue and re-launch the code but unfortunately it does not<br>
work :(<br>
</blockquote>
<br></div>
You didn't respond to my question/suggestion, namely that perhaps a consumer exists when the messages are published, in which case the published messages are passed straight to that consumer, with no opportunity for the priority queue to re-order the messages since no messages actually ever get enqueued.<span class="HOEnZb"><font color="#888888"><br>
<br>
Matthias.<br>
</font></span></blockquote></div><br></div>