BasicReject(deliveryTag, false) seems to be requing the message (probably
due to having acknowledgements set). So, should I also acknowledge a
message I'm about to reject?

Does BasicReject send an asynchronous message back to sender when
mandatory=true?

thanks,
-Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120206/89c5ddc1/attachment.htm>

Search Discussions

  • Emile Joubert at Feb 6, 2012 at 1:21 pm
    Hi Steven,
    On 06/02/12 11:54, Steven Taylor wrote:
    BasicReject(deliveryTag, false) seems to be requing the
    message (probably due to having acknowledgements set).
    I'm not able to reproduce this. Rejecting without requeue drops the message.
    So, should I
    also acknowledge a message I'm about to reject?
    No, you cannot reject a message after acknowledging it.
    Does BasicReject send an asynchronous message back to sender when
    mandatory=true?
    No, the "mandatory" parameter relates only to routing, i.e. whether the
    message was routed to a queue. Subsequent actions by consumers cannot
    cause return messages to be sent to publishers. Also see
    http://www.rabbitmq.com/amqp-0-9-1-quickref.html#basic.return


    -Emile

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprabbitmq-discuss @
categoriesrabbitmq
postedFeb 6, '12 at 11:54a
activeFeb 6, '12 at 1:21p
posts2
users2
websiterabbitmq.com
irc#rabbitmq

2 users in discussion

Emile Joubert: 1 post Steven Taylor: 1 post

People

Translate

site design / logo © 2022 Grokbase