azurenservicebusnservicebus3

NServiceBus error queues in Azure


I'm trying to setup NServiceBus in Azure. During local development I am using the storages queues and when deployed in the cloud I am using the Azure Service Bus. For some reason when an error occurs, messages are not moved to the error queue. In fact, the error queue isn't even created.

In my Web.config file I have the following configuration:

<MessageForwardingInCaseOfFaultConfig ErrorQueue="myApp-errors"/>

When configuring NServiceBus I call:

.MessageForwardingInCaseOfFault()

When a message fails, the last error in the log is always

Failed raising 'transport message received' event for message with ID=170ad256-b559-417e-8b34-3882045cc19e

Any thoughts on this? Messaging seems to work, it's just the error handling that doesn't work.


Solution

  • My first guess is that the error queue can not be created as captials in the name are not allowed

    If that doesn't work, we'll have to do a more thorough ananlysis, but that would require a little more information from the logs.

    Hope this helps