Class MessageRouter
Routes incoming messages through registered IMessageRouteInterceptor instances (e.g. inbox acceptance per DbContext) and then to the MessageDispatcher for handler invocation.
Transport consumers call RouteAsync(byte[], MessageProperties, string, CancellationToken, string) instead of interacting with interceptors and MessageDispatcher separately.
public class MessageRouter
- Inheritance
-
MessageRouter
- Inherited Members
Constructors
- MessageRouter(MessageDispatcher, IEnumerable<IMessageRouteInterceptor>)
Routes incoming messages through registered IMessageRouteInterceptor instances (e.g. inbox acceptance per DbContext) and then to the MessageDispatcher for handler invocation.
Transport consumers call RouteAsync(byte[], MessageProperties, string, CancellationToken, string) instead of interacting with interceptors and MessageDispatcher separately.