[rabbitmq-discuss] Messages disappearing

Simon MacMullen simon at rabbitmq.com
Thu Nov 17 15:43:40 GMT 2011


On 17/11/11 15:38, Nick Pateman wrote:
> I’ve set no_ack to 0 in my amq_basic_consume call and the messages are
> now appearing in the queue but as unacknowledged.

So all this sounds like the messages are being sent to your application:

no_ack = 1 -> messages are sent to your app, RabbitMQ forgets about them 
immediately.

no_ack = 0 -> messages are sent to your app, RabbitMQ treats them as 
unacknowledged until you ack.

The source code you posted doesn't show any code that actually handles 
received message frames - you do have some right?

Can you post your whole source somewhere? It's quite difficult to tell 
what is going on looking at fragments.

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list