Skip to main content

Module error_handler

Module error_handler 

Source

Structs§

ErrorHandlerConfig
Full error handler configuration: Dead Letter Channel URI and per-exception policies.
ExceptionPolicy
A rule that matches specific errors and defines retry + redirect behaviour.
ExceptionPolicyBuilder
Builder for a single ExceptionPolicy attached to an ErrorHandlerConfig.
PolicyId
Opaque identifier for a matched ExceptionPolicy within a RouteErrorHandler. Index into the policies Vec — valid only within the handler that created it. If the policies vec is reordered or filtered, indices become stale. Safe because policies are immutable after handler construction.
RedeliveryPolicy
Redelivery policy with exponential backoff and optional jitter.

Enums§

BoundaryKind
Identifies which boundary gate produced an infrastructure error.
ExceptionDisposition
Configures what happens after an error handler processes a matched exception.
RetryOutcome
Result of Phase 1 (retry) of error handling.
StepDisposition
Result of Phase 2 (handle) of step error handling. Handled and Continued MUST have Exchange.error cleared.

Constants§

HEADER_REDELIVERED
Camel-compatible header names for redelivery state.
HEADER_REDELIVERY_COUNTER
HEADER_REDELIVERY_MAX_COUNTER

Type Aliases§

ExponentialBackoffDeprecated