Is there a way to handle flow control? I would like rabbitmq to stop sending me new messages until I am done processing old ones, so that new messages don&#39;t get lost.<div><br></div><div>&nbsp;&nbsp;Aman<br><br><div class="gmail_quote">
On Tue, Jul 1, 2008 at 3:41 AM, Tony Garnock-Jones &lt;<a href="mailto:tonyg@lshift.net">tonyg@lshift.net</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Aman,<br>
<br>
It does support &quot;ack: client&quot;, but acknowledgements are not used to perform flow control: instead, they can be used to arrange for at-least-once deliveries.<br>
<br>
Essentially, &quot;ack: client&quot; is translated into setting &quot;noack&quot; to &quot;false&quot; on the &quot;basic.consume&quot; AMQP method that results from a STOMP &quot;SUBSCRIBE&quot; operation. Please see the AMQP specification for the semantics of the &quot;noack&quot; flag.<br>

<br>
Regards,<br>
 &nbsp;Tony<br>
<br>
<br>
Aman Gupta wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="Ih2E3d">
It seems the STOMP adapter does not support ack modes (<a href="http://stomp.codehaus.org/Ack+Modes" target="_blank">http://stomp.codehaus.org/Ack+Modes</a>). If I subscribe to a queue using ack: client, I continue to get additional messages from the queue, even before I respond with an ACK for the original message.<br>

<br>
 &nbsp;Aman Gupta<br>
<br>
<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote>
<br>
<br>
-- <br>
&nbsp;[][][] Tony Garnock-Jones &nbsp; &nbsp; | Mob: +44 (0)7905 974 211<br>
 &nbsp; [][] LShift Ltd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | Tel: +44 (0)20 7729 7060<br>
&nbsp;[] &nbsp;[] <a href="http://www.lshift.net/" target="_blank">http://www.lshift.net/</a> | Email: <a href="mailto:tonyg@lshift.net" target="_blank">tonyg@lshift.net</a><br>
</blockquote></div><br></div>