[rabbitmq-discuss] Acknowledgement bug with Tx

Emile Joubert emile at rabbitmq.com
Mon Feb 6 13:54:34 GMT 2012


On 05/02/12 06:48, Yogesh Ketkar wrote:
>     ch.basicAck(r.getEnvelope().getDeliveryTag(), false);

This acknowledgement will not take effect until the transaction is
committed. These pages contain more information:


> And now if I pause the program, this state remains forever and if I
> kill the program, it looks like

That would be similar to rolling back the transaction.

> Strangely, it happens only the first time, i.e. If I keep on running
> this code, in the end status looks like.

Looping around will commit all but the last acknowledgement.


More information about the rabbitmq-discuss mailing list