Closed fjohnson closed 10 years ago
It should be: "Instead the listener function should take four parameters (data, headers, deliveryInfo, msg)
and msg.acknowledge()
should be called to ack a single message."
The data
is the first argument and msg
is the fourth argument.
https://github.com/postwait/node-amqp/blob/master/lib/queue.js#L190
we just ran into this issue as well. the docs need to be updated as described.