Table of Contents

Namespace Excalibur.Dispatch.Routing

Classes

RouteDefinition

Defines a route destination.

RouteInfo

Represents comprehensive routing information for a message destination, including endpoint details, priority, and metadata.

RouteMetadataAttribute

Attribute that provides routing metadata for message classes, specifying how messages should be routed through the messaging infrastructure. This attribute controls message delivery behavior, targeting specific buses, queues, topics, and routing patterns.

RouteStatistics

Statistics for message routing operations.

RoutingContext

Provides context for routing decisions.

RoutingDecision

Result of routing evaluation containing both transport and endpoint decisions.

RoutingMiddleware

Middleware responsible for determining the message bus route for dispatched messages.

RoutingResult

Represents the result of a routing evaluation.

SpanBasedMessageRouter<TMessage>

High-performance message router that uses Span<T> and avoids allocations. Optimized for scenarios where routing decisions must be made in microseconds.

Interfaces

IDispatchRouter

Unified router that handles both transport selection and endpoint routing.

IEndpointRouter

Service responsible for routing messages to target endpoints (services).

IMessageRoute<TMessage>

Interface for message routes.

IRoutableMessage

Interface for routable messages.

ITransportSelector

Service responsible for selecting the appropriate transport (message bus) for a message.