BraveSirRobin/amqphp — Issue #7: Problem with channel ack
Author: hooblei
Created: 2012-01-26 00:59:36+00:00
State: open

Sorry me agian - this time with a documentation and logic problem within a channel/consumer ack. The docs state:

\amqphp\CONSUMER_ACK - this const is a signal to the Channel to respond with basic.ack (multiple=false)

but this is not the case: https://github.com/BraveSirRobin/amqphp/blob/master/src/amqphp/Channel.php#L406 - so looks like all acks will be send with multiple=true, which makes it impossible to only ack particular messages and leave messages 'unacknowledged' (.. for whatever)

btw - I think It would be a good idea to note something about the channel ackBuffer in the consumer docs - it took me some time to figure out why the channel was not sending any acks while I was playing with a single message *g*