Expand description
camel-core — core abstractions for camel-rs.
The module layout mirrors Apache Camel’s conceptual model, adapted to Rust:
message/exchange: the data carrierprocessor: async transformation stependpoint: producer/consumer factory addressable by URIcomponent: endpoint factory keyed by schemeroute: anEndpointconsumer feeding a chain of processorscontext: the top-level runtime holding components and routeserror:CamelError, the library-wide error type
Re-exports§
pub use component::Component;pub use context::CamelContext;pub use endpoint::Consumer;pub use endpoint::Endpoint;pub use endpoint::Producer;pub use error::CamelError;pub use error::Result;pub use exchange::Exchange;pub use exchange::ExchangePattern;pub use message::Body;pub use message::Message;pub use processor::FnProcessor;pub use processor::Processor;pub use route::Route;pub use route::RouteId;pub use uri::CamelUri;
Modules§
- component
- Component — factory that turns URIs into Endpoints.
- context
- CamelContext — registry of components, endpoints, and running routes.
- endpoint
- Endpoint — addressable source/sink of exchanges.
- error
- Library-wide error type.
- exchange
- Exchange — the per-message state that flows through a route.
- message
- Message — payload + headers, the in/out of an Exchange.
- processor
- Processor — async transformation of an Exchange.
- route
- Route — a consumer Endpoint wired to a Processor pipeline.
- uri
- Camel-style URI:
scheme:path?k1=v1&k2=v2.