Particular / NServiceBus.Azure

Transports and storage for Windows Azure
https://docs.particular.net/nservicebus/azure/
Other
10 stars 15 forks source link

Messages ending up in ASB Deadletter queue #238

Closed danielHalan closed 9 years ago

danielHalan commented 9 years ago

Noticed that a lot messages ends up in the ASB Deadletter queue after running up 10+ workers, some without any NSB Error.

image

yvesgoeleven commented 9 years ago

The max delivery count on your queue is probably to low, it should be 6x max number of instances

danielHalan commented 9 years ago

Ok... due that each worker might try the messages, with internal retry counters? Maybe should have a central storage for how many instances are running and then adjust the ASB "MaxDeliveryCount" accordingly.

yvesgoeleven commented 9 years ago

We are aware of this issue/inconvenience, and have a feature request open on the core that would allow the delegation of FLR (and other retry rules) to a specific transport. I don't have an eta on this yet, but it is on the planning. I assume upping the retry count resolved the issue for now and close the issue, if not feel free to reopen