Benny Emmers
Benny Emmers

Reputation: 40

Second level retries is not working in NServiceBus when time out manager is disabled

I'm using NServicebus 4.3.3 with SqlServer. I found out that there is a correlation between disabling the time out manager and the Second Level retry (SLR). Why is that ? Is there a way to make the SLR work without enabling the time out manager ? I'm not using a saga so there is no need for the time out manager and if I enable it my application does not start up anymore. It is hosted in IIS (express).

Upvotes: 0

Views: 841

Answers (2)

Benny Emmers
Benny Emmers

Reputation: 40

Found the solution. I had to disable the saga feature (Configure.Features.Disable();). Then I did not have to disable the timeout manager and the second level retries work

Upvotes: 0

Indu Alagarsamy
Indu Alagarsamy

Reputation: 449

I tried to reproduce this by converting the ErrorHandling sample and in particular the one that uses SLR to use the SqlServer transport, and it works as expected for me. I am not seeing what you are experiencing.

Its possible that I might be missing something. Can you please open an issue here with details on how to reproduce this issue? https://github.com/particular/nservicebus.sqlserver/issues?state=open

I used NServiceBus version 4.3.4 and SqlServer 1.1.0 for my testing.

Upvotes: 1

Related Questions