Skip to main content

camel_component_api/
lib.rs

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