[rabbitmq-discuss] Transactions & Routing

Simon MacMullen simon at rabbitmq.com
Wed Apr 6 17:54:48 BST 2011


On 06/04/11 01:25, Jason J. W. Williams wrote:
> Do transactions fail if a message can't be routed to any queue,

No.

> or do
> they simply acknowledge that the channel has custody of the message
> and is routing it (i.e. if it's a durable exchange the message will be
> persisted to disk during routing)?

The message is not persisted by anything other than a queue - however 
once you get back a tx.commit-ok, you know that all messages are either 
in queues (and on disk if persistent), already consumed, or didn't get 
routed - i.e. routing is over.

Cheers, Simon

-- 
Simon MacMullen
Staff Engineer, RabbitMQ
SpringSource, a division of VMware



More information about the rabbitmq-discuss mailing list