Skip to main content

camel_component_api/
lib.rs

1pub mod component;
2pub mod consumer;
3pub mod endpoint;
4pub mod producer;
5
6pub use component::Component;
7pub use consumer::{ConcurrencyModel, Consumer, ConsumerContext, ExchangeEnvelope};
8pub use endpoint::Endpoint;
9pub use producer::ProducerContext;
10
11// Re-export camel-api types for component convenience
12pub use camel_api::{
13    Body, BodyType, BoxProcessor, CamelError, Exchange, Message, RouteAction, RouteStatus,
14    RuntimeCommand, RuntimeCommandBus, RuntimeCommandResult, RuntimeHandle, RuntimeQuery,
15    RuntimeQueryBus, RuntimeQueryResult, StreamBody, StreamMetadata, Value,
16};
17
18// Re-export camel-endpoint types for component convenience
19pub use camel_endpoint::{UriComponents, UriConfig, parse_uri};