Table of Contents

Class MessageRouter

Namespace
Ratatoskr.Core
Assembly
Ratatoskr.dll

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.

Methods

RouteAsync(byte[], MessageProperties, string, CancellationToken, string)