I&#39;m using RabbitMQ 2.6.1 and Pika .95 with a single producer process and a single consumer process.<div><br></div><div>I have a business requirement to process messages in the exact order that they were received. Fortunately, this is very low volume - maybe 1 message every 10 or 15 minutes.</div>
<div><br></div><div>If consumer-side processing fails for any reason on the consumer end, I need to resolve the issue and not consume any subsequent messages from the queue until the original problem is fixed.</div><div><br>
</div><div>I&#39;m noticing that if I don&#39;t acknowledge a message, that it goes back into the queue but it seems to lose its place in line.�</div><div><br></div><div>In case consumer-side processing fails, I could reject the message but then when I get a new message from the queue, instead of re-retrieving the failed message, I get the next one created.�</div>
<div><br></div><div>In the real-world, I don&#39;t expect to have too many messages in my queue unless it gets backed up due to failures.</div><div><br></div><div>I&#39;m sure that I&#39;m not the first person with this requirement-how do others handle it?</div>
<div><br></div><div><br></div>