Skip to main content

Module exchange

Module exchange 

Source

Structs§

Exchange
An Exchange represents a message being routed through the framework.

Enums§

ExchangePattern
The exchange pattern (fire-and-forget or request-reply).

Constants§

CAMEL_STOP
Pipeline-executor-recognized stop signal. Set by processors (ThrottleStrategy::Drop, SamplingService) that cannot return PipelineOutcome::Stopped directly because they are Tower Service (Process mode), not OutcomePipeline (Segment). The executor checks this after each step completion. See ADR-0024 amendment.
ORIGINAL_MESSAGE_EXTENSION
Extension key used by use_original_message: stashes the pre-route Message so the error handler can restore body+headers before DLC dispatch.
PROPERTY_EXCEPTION_CAUGHT
Property key for the caught exception (Java Camel parity alias).
PROPERTY_EXCEPTION_HANDLED
Property key set when an exception has been handled (Java Camel parity).
PROPERTY_EXCEPTION_KIND
Property key for the exception kind (error variant name via classify()).
PROPERTY_EXCEPTION_MESSAGE
Property key for the exception message (error Display string).

Functions§

is_camel_stop
Check whether the exchange carries the CamelStop signal.