Is there a way to disable sending failed messages to an error queue for NServiceBus?
For one particular endpoint, I don't want to retry messages after they've failed second level retries. Instead, I'm going to hook those messages into a custom error handling solution by using the MessageSentToErrorQueue error notification mentioned here: Is there a global exception handler for NServiceBus?
If I omit the MessageForwardingInCaseOfFaultConfig setting, NSB will throw an exception.
I can send them to an unmonitored error queue (table) and just purge it regularly, but I'd rather not if possible.
Maybe I could also set the TimeToBeReceived shorter than the SecondLevel Retries, but that doesn't seem to fit either.
I'm using NSB version 5.2.14 with SQL server transport 2.2.3.