coreon_core/lib.rs
1//! camel-core — core abstractions for camel-rs.
2//!
3//! The module layout mirrors Apache Camel's conceptual model, adapted to Rust:
4//!
5//! - [`message`] / [`exchange`]: the data carrier
6//! - [`processor`]: async transformation step
7//! - [`endpoint`]: producer/consumer factory addressable by URI
8//! - [`component`]: endpoint factory keyed by scheme
9//! - [`route`]: an `Endpoint` consumer feeding a chain of processors
10//! - [`context`]: the top-level runtime holding components and routes
11//! - [`error`]: `CamelError`, the library-wide error type
12
13pub mod component;
14pub mod context;
15pub mod endpoint;
16pub mod error;
17pub mod exchange;
18pub mod message;
19pub mod processor;
20pub mod route;
21pub mod uri;
22
23pub use component::Component;
24pub use context::CamelContext;
25pub use endpoint::{Consumer, Endpoint, Producer};
26pub use error::{CamelError, Result};
27pub use exchange::{Exchange, ExchangePattern};
28pub use message::{Body, Message};
29pub use processor::{FnProcessor, Processor};
30pub use route::{Route, RouteId};
31pub use uri::CamelUri;