-
Hello! I've been doing some debugging to work out why messages from an Azure Service Bus topic don't move to the DLQ if an exception is thrown, and instead the message is Acknowledged, and therefore not re-queued and removed from the queue. I can see that in MessagePump there is a check for whether the exception is an Is this the best/only way to go about this re-queuing a message, to raise a If I've missed something, apologies - am still digging around now so will post back if I find anything else. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 18 replies
-
Yes, using |
Beta Was this translation helpful? Give feedback.
-
Thanks, for context, this is the relevant bootstrapping code:
|
Beta Was this translation helpful? Give feedback.
-
My question was essentially: Is raising a The short answer is yes. Great explanation here in one of the comments in this discussion. |
Beta Was this translation helpful? Give feedback.
My question was essentially:
Is raising a
DeferMessageAction
the correct way to requeue an item, and eventually move it to the DLQ?The short answer is yes.
Great explanation here in one of the comments in this discussion.