[rabbitmq-discuss] Sequential message processing guarantee

Emile Joubert emile at rabbitmq.com
Mon Jan 23 10:55:57 GMT 2012

Hi Yogesh,

On 22/01/12 17:38, Yogesh Ketkar wrote:
> Is that the case and if NOT, what is the way to guarantee sequential
> processing of messages on one queue?

If I understand your question correctly, you want to know whether
messages will always be delivered in order. This page has relevant info:
http://www.rabbitmq.com/semantics.html#ordering :

messages published in one channel, passing through one exchange and one
queue and one outgoing channel will be received in the same order that
they were sent

This remains true whether you use basic.get or basic.consume. A consumer
may observe messages out of order if there are multiple consumers
consuming from the same queue and some of them perform requeues.


More information about the rabbitmq-discuss mailing list