Is it possible to disable retries in NServiceBus, version 3.2.2?
Using the following configuration, retries can be disabled:
<MsmqTransportConfig NumberOfWorkerThreads="1"
MaxRetries="0" />
<SecondLevelRetriesConfig Enabled="false"
TimeIncrease="00:00:10"
NumberOfRetries="0" />
But not when the number of threads is set to 20. In this case, the message is repeated twice:
<MsmqTransportConfig NumberOfWorkerThreads="20"
MaxRetries="0" />
<SecondLevelRetriesConfig Enabled="false"
TimeIncrease="00:00:10"
NumberOfRetries="0" />
This is very much like a mistake. The behavior of the repetitions should not depend on the number of threads.
source
share