[rabbitmq-discuss] Ordering of messages after txRollback()

Matthew Sackman matthew at rabbitmq.com
Sun Jun 6 19:33:09 BST 2010


On Sun, Jun 06, 2010 at 11:28:56AM -0700, Oleg Zhurakousky wrote:
> Right and that is what I am essentially asking. If txRollback on the consumer side is un-doing the ack (at least I can observe this behavior), I thought that there is a difference between how re-queue is done when simply not acking the message (to the back of the queue) vs acked message but rolled back (to the front of the queue). But i guess its already been answered in a way  that the spec is silent about ordering.

If you rollback in the consumer, and the transaction consists solely of
acks, the messages ARE NOT requeued. The responsibility to ack the
message remains with the client.

Matthew


More information about the rabbitmq-discuss mailing list