[rabbitmq-discuss] Why does the queue drop other messages after the first is consumed?
michael.s.klishin at gmail.com
Mon Dec 16 17:37:31 GMT 2013
2013/12/16 Raj Kumar Sanpui <raj.kumar.sanpui at gmail.com>
> After i call:
> amqp_basic_consume(conn, 1, queuename, amqp_empty_bytes, 0, 1, 0,
> Right after this call, the messages are truncated to 0.
As soon as there is a consumer on this queue, RabbitMQ will deliver
messages to it
as fast as possible, because you use automatic acknowledgements. Use manual
and basic.qos if that's not what you want.
Local debug statements are of limited use in this case. What you need is to
trace what's going
down the wire.
What's in RabbitMQ log? It's very important to understand if there are
any channel exceptions.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss