<p>Briefly looking at the code you don&#39;t seem to be acking messages.</p>
<div class="gmail_quote">On Dec 5, 2011 7:31 PM, &quot;Pieter de Zwart&quot; &lt;<a href="mailto:pdezwart@rubiconproject.com">pdezwart@rubiconproject.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word;color:rgb(0,0,0)"><div><div><div style="font-family:Calibri,sans-serif;font-size:14px">Hey everyone,</div><div style="font-family:Calibri,sans-serif;font-size:14px"><br></div><div><font face="Calibri,Verdana,Helvetica,Arial"><span style="font-size:15px">I am having some trouble with the basic.consume method and prefetch. It would seem that when I set a prefect count to X, the consume method will successfully pull in X messages, and then get stuck on the next amqp_simple_wait_frame. I have attached a hacked version of the amqp_consumer example that displays the behavior. I did hack in a local queue name that had enough messages�</span></font></div>
</div></div><div><font face="Calibri,Verdana,Helvetica,Arial"><span style="font-size:15px"><br></span></font></div><div><font face="Calibri,Verdana,Helvetica,Arial"><span style="font-size:15px">Hopefully I am just doing something nonsensical.</span></font></div>
<div><font face="Calibri,Verdana,Helvetica,Arial"><span style="font-size:15px"><br></span></font></div><div><font face="Calibri,Verdana,Helvetica,Arial"><span style="font-size:15px">Thanks!</span></font></div><div><font face="Calibri,Verdana,Helvetica,Arial"><span style="font-size:15px">Pieter</span></font></div>
</div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div>