[rabbitmq-discuss] RabbitMQ transaction mode and mandatory bit

Emile Joubert emile at rabbitmq.com
Mon Jul 1 09:01:38 BST 2013


On 01/07/13 07:34, haster2010 at gmail.com wrote:

> Do you know where my message is after that? 

The message will be dropped. If you don't want that then consider
setting up an alternate exchange:

http://www.rabbitmq.com/ae.html

> Why there is no any error (queue is absent)?

You should receive a basic.return before tx.commit-ok rather than an
error due to publishing an mandatory unroutable message in a
transaction. See

http://www.rabbitmq.com/amqp-0-9-1-reference.html#basic.publish.mandatory

http://www.rabbitmq.com/semantics.html


-Emile




More information about the rabbitmq-discuss mailing list