'Is there a way to have MassTransit just abandon messages on error rather than forward to an error queue/deadletter
I am trying to use MassTransit in a very reliable message based system based around Azure Service Bus. When message processing errors occurs MassTransit moves the message to an error/fault queue. I know I can do retries with policies on the consumer, and I am. What I want to configure is for MassTransit to try to process the message, if an error happens, Abandon the message so it's returned back to the front of the subscription for another subscriber to pick up.
I'm trying to use this in combination with a custom circuit breaker that breaks immediately when a processing error happens.
This will increment the Delivery Count on Service Bus and eventually might lead to dead lettering, but we already have non-masstransit based approaches to handle that.
So is there a way to disable all the Error queue functionality and just Abandon the message?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
