[rabbitmq-discuss] Why do I get unackowledged messages?

Emile Joubert emile at rabbitmq.com
Mon Nov 1 14:12:44 GMT 2010


Hi Eric,

Op 01/11/2010 11:58, het Eric at SPIN geskryf:
>
> This question may have an obvious answer but I don't know what it is. I've
> got about 10 queues on an exchange. I'm enqueing/dequeing via the .NET
> client version 2.1.1.0. The behaviour that i'm seeing is that messages stay
> in the unacknowledged queue for long (and seemingly random) periods of time.
> The system is not under any significant load. For some of the queues the
> messages are eventually processed for others they remain for hours. I use
> the same code for all the queues. What could be going wrong?

The most likely cause is that consumers are not acknowledging messages. 
You could set the noAck flag when consuming messages or call the 
BasicAck() method after processing a message.

Regards

Emile


More information about the rabbitmq-discuss mailing list