Expand description
Processor — async transformation of an Exchange.
Structs§
- FnProcessor
- Adapter that lifts a closure into a
Processor.
Traits§
- Predicate
- Predicate — a boolean test over an Exchange. Separate from Processor because EIPs like Filter/Choice compose predicates, not processors.
- Processor
- The central abstraction. Processors are composed into pipelines; they
transform the Exchange in place (or route it elsewhere) and return
Ok(())to let the pipeline continue, or an error to trigger the error handler.