Expand description
camel-yaml — load routes from a YAML document into a running CamelContext.
Schema (top level):
routes:
- id: hello
from: direct:in
steps:
- filter:
body_contains: "hello"
- transform:
upper: true
- to: log:outSupported steps variants and their YAML shapes are documented on
Step in the schema module.
Re-exports§
pub use error::YamlError;pub use loader::load_str;pub use loader::load_file;pub use schema::Document;pub use schema::RouteSpec;pub use schema::Step;
Modules§
- error
- loader
- Walk a parsed
Documentand translate it intoRouteBuildercalls. - schema
- Serde types for the camel-rs YAML DSL.