[rabbitmq-discuss] RabbitMq and POE::Component::Client::AMQP - Re-delivery to same client?
Matthias Radestock
matthias at rabbitmq.com
Wed Dec 14 23:44:36 GMT 2011
On 14/12/11 23:36, Simone Busoli wrote:
> Andy, you would have to recover
> <http://www.rabbitmq.com/amqp-0-9-1-reference.html#basic.recover> the
> messages.
Be careful with basic.recover. It requeues everything unacked,
*including any messages that may be in flight from the server to the
client at the time*.
'basic.reject' or 'basic.nack' are usually more appropriate. They allow
you to requeue individual messages.
Regards,
Matthias.
More information about the rabbitmq-discuss
mailing list