<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 13, 2014 at 7:32 PM, Srinath Sridharan -X (srinatsr - ZENSAR TECHNOLOGIES INC at Cisco) <span dir="ltr"><<a href="mailto:srinatsr@cisco.com" target="_blank">srinatsr@cisco.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div>
<p class="MsoNormal">How to avoid requeueing mechanism ? I don’t want any messages to be requeued. I want all consumed messages to be acknowledged even though if any exceptions occur.</p></div></div></blockquote><div><br>
</div><div>So you essentially want RabbitMQ to discard your message as soon as the message is send to the consumer. If that's the case, what you want is to issue a basicConsume with no_ack = true. Be aware that is an unsafe operation: if an exception occurs you will lose that message.</div>
</div></div></div>