Expand description
Language SPI for rust-camel — defines the core traits all expression/predicate languages implement.
Main traits: Language, Expression, Predicate, MutatingExpression, MutatingPredicate.
Main modules: error.
Re-exports§
pub use error::LanguageError;
Modules§
Structs§
- Exchange
- An Exchange represents a message being routed through the framework.
- Message
- A message flowing through the Camel framework.
Enums§
- Body
- The body of a message, supporting common payload types.
Traits§
- Expression
- Evaluates to a Value against an Exchange.
- Language
- A Language factory: produces Expression and Predicate objects.
- Mutating
Expression - Expression that may modify the Exchange during evaluation. Changes to headers, properties, or body are propagated back.
- Mutating
Predicate - Predicate that may modify the Exchange during evaluation. Changes to headers, properties, or body are propagated back.
- Predicate
- Evaluates to bool against an Exchange.
Type Aliases§
- Value
- Value type alias for dynamic header/property values.