[rabbitmq-discuss] RabbitMQ basic.get and acknowledgement

Bozhidar Bozhanov bozhidar.bozhanov at gmail.com
Fri Oct 21 14:26:48 BST 2011

I'm invoking:

GetResponse response = channel.basicGet("some.queue", false); // no
channel.basicAck(deliveryTag, ...);

However, when I invoke basicGet, the messages in the queue stay in
"Ready", rather than in "Unacknowledged". I want them to be in
unacknowledged, so that I can either basic.ack them (thus discarding
them from the queue), or basic.nack them

More information about the rabbitmq-discuss mailing list