[rabbitmq-discuss] AMQP 0.9.1 Specification: Suport for Deliver API
Prashant
prayadav at gmail.com
Mon Feb 7 10:30:03 GMT 2011
client is not disconnecing..If message fails for some reason and I
want to process it again , I need to requeue it back and basicRecover
just does that , isn't.
But if you say basicReject is helpful , I will look into it.
Prashant
On Feb 7, 10:19 am, Matthew Sackman <matt... at rabbitmq.com> wrote:
> On Sun, Feb 06, 2011 at 01:00:03PM -0800, Prashant wrote:
> > I was stuck while trying to use deliver option in channel. Now , in my
> > experiment , I am trying to use basicRecover to republish all the
> > unack messages back to the channel.
>
> Why? Unacked messages are automatically reinjected back into the queue
> when the client disconnects. Thus there is never normally any reason to
> use basic.recover.
>
> Basic.reject has more viable use cases, and our extension of this to
> basic.nack
> (http://www.rabbitmq.com/extensions.html#negative-acknowledgements) is
> somewhat more flexible. But basic.recover is arguably a mis-feature of
> the specification and indeed we no longer support
> basic.recover{requeue=false} at all.
>
> Matthew
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list