nservicebus6

NServiceBus 6 callback client never gets a callback when the request handler fails

|▌冷眼眸甩不掉的悲伤 提交于 2021-02-10 20:14:02
问题 Using NServiceBus 6's Callback feature I have found no way to alert the client that the request handler failed. The request handler will go through all the recoverability steps, and eventually put the message into the error queue. Meanwhile, the client just sits there waiting for its reply. // Client code (e.g. in an MVC Controller) var message = new FooRequest(); var response = await endpoint.Request<FooReponse>(message); // Handler code public class FooRequestHandler : IHandleMessages