[rabbitmq-discuss] Using pika - PRECONDITION_FAILED - unknown delivery tag 1

Ezequiel Golub ezequiel.golub at gmail.com
Mon Mar 5 17:34:20 GMT 2012


I works as a charm now, thanks a million!!!

On Mon, Mar 5, 2012 at 2:31 PM, Simon MacMullen <simon at rabbitmq.com> wrote:
> On 05/03/12 17:25, Ezequiel Golub wrote:
>>
>> i'm getting the following failure after a
>> number of messages are received (emphasis added):
>
>
> <snip>
>>
>>     ch.basic_ack(delivery_tag = method.delivery_tag)
>
> <snip>
>
>>     channel.basic_consume(consume,
>>                       queue='queue_2012030505',
>>                       no_ack=True,
>>     )
>
> <snip>
>
> So you have told RabbitMQ that you will not be acking messages, but then you
> are sending acks anyway. The channel is blowing up when the first ack gets
> through.
>
> Cheers, Simon
>
> --
> Simon MacMullen
> RabbitMQ, VMware



-- 
Ezequiel Golub


More information about the rabbitmq-discuss mailing list