[rabbitmq-discuss] does topic exchange route messages to different queues in the same order ?

Stone Shi zmstone at gmail.com
Tue Nov 19 09:59:47 GMT 2013


Thanks for the quick answer !


On Tue, Nov 19, 2013 at 10:40 AM, Simon MacMullen <simon at rabbitmq.com>wrote:

> No. You can assume that order is maintained *per publisher* - you will
> never see {a,2},{a,1} - but the interleaving between publishers is not
> guaranteed to be the same.
>
> Cheers, Simon
>
>
> On 19/11/2013 09:27, Stone Shi wrote:
>
>> Hi guys.
>>
>> If I have e.g. a topic exchange, two publishers, and two queues bind to
>> the exchange.
>> lets say we have 4 messages published "at the same time",
>> {a,1}, {a,2} from publisher A
>> {b,1}, {b,2} from publisher B
>> if it's ended up with {b,1},{a,1},{a,2},{b,2} in one queue, can I assume
>> the same order in the other queue?
>>
>> Regards
>> -Stone
>>
>>
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131119/5ddc1d09/attachment.htm>


More information about the rabbitmq-discuss mailing list