Enum DispatchMiddlewareStage
Defines the stages in the dispatch middleware pipeline with their execution order.
public enum DispatchMiddlewareStage
- Extension Methods
Fields
Authentication = 175Authentication checks to verify message sender identity.
Authorization = 300Authorization checks including role and grant policies.
Cache = 400Cache stage to check for cached values and responses.
Cascade = 750Cascade stage: stages any follow-up messages a handler returns (via ICascade) to the outbox. Runs inside outbox staging so cascaded messages are persisted with the handler's outbound set.
Deduplication = 599Deduplication and idempotency checks, executed immediately before handler processing.
End = 1000The final stage of the middleware pipeline.
ErrorHandling = 800Error handling and compensation stage.
Instrumentation = 150Instrumentation stage for performance metrics and telemetry.
Logging = 190Logging stage for audit trails and diagnostic logging.
Optimization = 450Optimization stage for batching, bulk operations, and performance enhancements.
PostProcessing = 700Post-processing stage for cleanup and result transformation.
PreProcessing = 100Pre-processing stage for tracing and context setup.
Processing = 600Core message processing stage where handlers execute.
RateLimiting = 50Rate limiting checks to control message throughput.
Routing = 500Routing stage for bus resolution, forwarders, and event publication.
Serialization = 250Message serialization and deserialization processing.
Start = 0The starting stage of the middleware pipeline.
Validation = 200Validation stage for schema, data annotation, and fluent validation.