[rabbitmq-discuss] rabbitmq query
knitheshshetty at yahoo.com
Mon Sep 12 10:09:12 BST 2011
In that case it won't help us since. our system is a online trading system
and the order of the messages has to be maintained in any case.
Thanks for u r help emile.
From: Emile Joubert <emile at rabbitmq.com>
To: Nithesh Shetty <knitheshshetty at yahoo.com>
Cc: "rabbitmq-discuss at lists.rabbitmq.com" <rabbitmq-discuss at lists.rabbitmq.com>
Sent: Monday, September 12, 2011 2:32 PM
Subject: Re: [rabbitmq-discuss] rabbitmq query
Op 12/09/11 09:45, het Nithesh Shetty geskryf:
>>Examples where the condition of a single path does not hold is when a
>>consumer reconnects or requeues messages. In these cases you cannot rely
>>on messages being received in publication order.
> When u say reconnects or requeues. I assume that the application using
> queue to receive message crashes and then it connects
> again to receive the message at that moment u cannot gaurantee the order
If a consumer holds unacknowledged messages when it disconnects then the
broker needs to return those messages to the queue. The current version
of rabbit places those messages at the back of the queue, so you cannot
rely on the order of messages once a reconnect occurs.
The same goes for AMQP methods that accept a "requeue" argument like
basic.reject, basic.recover and basic.nack.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss