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't get lost.<div><br></div><div> Aman<br><br><div class="gmail_quote">
On Tue, Jul 1, 2008 at 3:41 AM, Tony Garnock-Jones <<a href="mailto:tonyg@lshift.net">tonyg@lshift.net</a>> 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 "ack: client", but acknowledgements are not used to perform flow control: instead, they can be used to arrange for at-least-once deliveries.<br>
<br>
Essentially, "ack: client" is translated into setting "noack" to "false" on the "basic.consume" AMQP method that results from a STOMP "SUBSCRIBE" operation. Please see the AMQP specification for the semantics of the "noack" flag.<br>
<br>
Regards,<br>
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>
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>
[][][] Tony Garnock-Jones | Mob: +44 (0)7905 974 211<br>
[][] LShift Ltd | Tel: +44 (0)20 7729 7060<br>
[] [] <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>