Interface IMessageRouteInterceptor
Intercepts message routing before dispatch. Called by MessageRouter to allow infrastructure packages (e.g. inbox) to accept or persist handlers before the MessageDispatcher invokes them.
public interface IMessageRouteInterceptor
Methods
- BeforeDispatchAsync(byte[], MessageProperties, string, string, CancellationToken)
Called before a message is dispatched to handlers.