[rabbitmq-discuss] Basic.reject(true) does remove the redelivered flag?
Simon MacMullen
simon at rabbitmq.com
Tue Apr 12 14:44:59 BST 2011
On 06/04/11 10:49, Alfonso Pantoja wrote:
> Hi,
Hi.
> I've been googling about basic reject and found that
> basic.reject(true)
> (requeue the message) removes the redelivered flag?
>
> Is this correct?
No. basic.reject(true) leaves the redelivered flag alone (effectively
meaning it'll always be true). Of course that's not specified either way
in the AMQP spec, but it's what we do. Of course, you could probably
make a case for it being either way...
Cheers, Simon
--
Simon MacMullen
Staff Engineer, RabbitMQ
SpringSource, a division of VMware
More information about the rabbitmq-discuss
mailing list