Thanks! Works like a charm.<br><br>As a side note, noAck seems like a counter-intuitive name. I expected noAck=flase to mean a double negative, telling the server to automatically ack.<br><br>-Isaac<br><br><div class="gmail_quote">
On Wed, Apr 22, 2009 at 2:29 AM, Matthias Radestock <span dir="ltr">&lt;<a href="mailto:matthias@lshift.net">matthias@lshift.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Isaac,<div class="im"><br>
<br>
Isaac Cambron wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I did get the tip revision to work<br>
</blockquote>
<br></div>
Careful. Please make sure you use the default branch, i.e. do<br>
 �hg update -C default<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 � � � � � � � �ch.BasicConsume(&quot;myqueue&quot;, true, null, consumer);<br>
 � � � � � � � �ch.BasicQos(0, 1, false);<br>
</blockquote>
<br></div>
There&#39;s your problem:<br>
<br>
1) I wrote &quot;set the basic.qos prefetch count to 1, *and then* subscribe to [...] the queues&quot;, i.e. you need to issue the BasicQos *before* the BasicConsume.<br>
<br>
2) The second parameter to basicConsume, noAck, must be set to false, otherwise the server will automatically ack the messages as soon as it sends them, which makes the qos settings ineffective - I suggest you simply use the three-arg version of BasicConsume, which sets noAck=false.<br>

<br>
<br>
Regards,<br><font color="#888888">
<br>
Matthias.<br>
</font></blockquote></div><br>