We send a message through a nservicebus from web API to the worker service.
We use such a retry policy:
Number of immediate retries: 5
Number of delay retries: 5
Interval for delay retries: 2 min
Right now, if there is an error in the service that will not be fixed in immediate retries, the client will wait until the timeout (30 sec for REST). After that, if the message will be successfully processed during delayed retry, nservicebus will try to deliver a message to the client and there will be an error “No handlers could be found for message type”, since the client has already received a timeout message.
We don’t really like this behavior. Is there a way to get the response on the client right after all the immediate retries? We would still like the deferred replays to continue to work.