Table of Contents

Namespace Excalibur.Dispatch.ErrorHandling

Classes

CompositePoisonDetector

Composite detector that aggregates multiple poison message detectors.

DeadLetterEntry

Represents an entry in the dead letter queue with all relevant context for debugging and replay.

DeadLetterFilter

Filter criteria for querying dead letter messages.

DeadLetterMessage

Represents a message that has been moved to the dead letter queue.

DeadLetterOnExhaustionMiddleware

Optional opt-in middleware that auto-dead-letters an in-process dispatch once RetryMiddleware has exhausted every retry attempt. It is placed upstream of RetryMiddleware so the retry middleware runs as its next delegate; it then routes a genuine retry-exhaustion to the dead-letter queue, whether the exhaustion arrives as a returned IMessageResult or as a propagating exception.

DeadLetterQueryFilter

Filter criteria for querying dead letter queue entries.

ExceptionTypePoisonDetector

Detects poison messages based on specific exception types.

InMemoryDeadLetterStore

In-memory implementation of the dead letter store for development and testing.

MessageProcessingInfo

Information about message processing attempts.

NullDeadLetterQueue

A no-op implementation of IDeadLetterQueue that discards every message handed to it.

PoisonDetectionResult

Result of poison message detection.

PoisonMessageHandler

Default implementation of the poison message handler.

PoisonMessageMiddleware

Middleware that detects and handles poison messages during dispatch processing.

PoisonMessageStatistics

Statistics about poison messages.

ProcessingAttempt

Represents a single processing attempt.

ReplayBatchResult

The outcome of a batch replay: how many entries were selected, how many were replayed, and whether the selection was cut short by the caller's limit.

RetryCountPoisonDetector

Detects poison messages based on the number of retry attempts.

TimespanPoisonDetector

Detects poison messages based on processing timeout.

Interfaces

IDeadLetterQueue

Defines the contract for a dead letter queue that stores failed messages for later inspection and replay.

IDeadLetterQueueAdmin

Provides batch and purge operations for the dead letter queue.

IDeadLetterStore

Defines the contract for storing and retrieving messages from the dead letter queue.

IDeadLetterStoreAdmin

Provides administrative operations for the dead letter store.

IPoisonMessageDetector

Defines the contract for detecting poison messages.

IPoisonMessageHandler

Defines the contract for handling poison messages that cannot be processed successfully.

Enums

DeadLetterReason

Specifies the reason why a message was moved to the dead letter queue.

DeadLetterReplayOutcome

What marking a dead letter message as replayed actually did, as decided by the store's own atomic action.