NServiceBus
NServiceBus copied to clipboard
The name SendFailedMessagesTo doesn't accurately reflect what the API does
Describe the suggested improvement
Calling SendFailedMessagesTo will forward failed messages to the specified queue which is intuitive. However, behind the scenes, the API also changes the name of the queue itself (from the default "error" to the name specified in the API). The name of the API doesn't make this clear and it could lead to confusion.
Other issues with the name of the API:
- SendFailedMessagesTo makes it sound like it's doing something right now; maybe
SetErrorQueueName? - If this API isn't called, it's not clear that messages will still be sent to a default error queue
- The name of the API is hard to find; it doesn't mention the words "error queue" which is what our documentation refers to
Additional Context
No response