coreon-core 0.1.0

Core abstractions for camel-rs: Exchange, Processor, Endpoint, Component, CamelContext.
Documentation
//! camel-core — core abstractions for camel-rs.
//!
//! The module layout mirrors Apache Camel's conceptual model, adapted to Rust:
//!
//! - [`message`] / [`exchange`]: the data carrier
//! - [`processor`]: async transformation step
//! - [`endpoint`]: producer/consumer factory addressable by URI
//! - [`component`]: endpoint factory keyed by scheme
//! - [`route`]: an `Endpoint` consumer feeding a chain of processors
//! - [`context`]: the top-level runtime holding components and routes
//! - [`error`]: `CamelError`, the library-wide error type

pub mod component;
pub mod context;
pub mod endpoint;
pub mod error;
pub mod exchange;
pub mod message;
pub mod processor;
pub mod route;
pub mod uri;

pub use component::Component;
pub use context::CamelContext;
pub use endpoint::{Consumer, Endpoint, Producer};
pub use error::{CamelError, Result};
pub use exchange::{Exchange, ExchangePattern};
pub use message::{Body, Message};
pub use processor::{FnProcessor, Processor};
pub use route::{Route, RouteId};
pub use uri::CamelUri;