As per my understanding default value for maxDeliveryAttempts is 5?
Even after explicitly setting the value of 5 at times I've observed retry to exceed 5 ( upto > 10 recently).
Configurations are
SetNumberOfWorkers:5,SetMaxParallelism: 10, SimpleRetryStrategy(maxDeliveryAttempts: 5, secondLevelRetriesEnabled: true),
Within handler, if we are unable to process the message as a best-suggested practice should I explicitly throw an exception, return null or just let the exception propagate ( at the moment I catch the exception log and rethrow same) - can this impact the behaviour?
I've also implemented IHandleMessages> to do some house keeping. Note: using rebus with rabbitmq