Skip to main content

camel_processor/
lib.rs

1pub mod aggregator;
2pub mod choice;
3pub mod circuit_breaker;
4pub mod claim_check;
5pub mod content_enricher;
6pub mod convert_body;
7pub mod data_format;
8pub mod delayer;
9pub mod do_try;
10pub mod do_try_segment;
11pub mod dynamic_router;
12pub mod dynamic_set_header;
13pub mod dynamic_set_property;
14pub mod endpoint_pipeline;
15pub mod enrichment_strategy;
16pub mod error_handler;
17pub mod filter;
18pub mod idempotent_consumer;
19pub mod load_balancer;
20pub mod log;
21pub mod loop_eip;
22pub mod map_body;
23pub mod marshal;
24pub mod multicast;
25pub mod multicast_segment;
26pub mod recipient_list;
27pub mod resequencer;
28pub mod routing_slip;
29pub mod sampling;
30pub mod script_mutator;
31pub mod security_policy_layer;
32pub mod set_body;
33pub mod set_header;
34pub mod set_property;
35pub mod sort;
36pub mod split_segment;
37pub mod splitter;
38pub mod stream_cache;
39pub mod stream_codec;
40pub mod streaming_split_segment;
41pub mod streaming_splitter;
42pub mod throttler;
43pub mod validate;
44pub mod wire_tap;
45pub mod zip_splitter;
46
47pub use aggregator::AggregatorService;
48pub use choice::{ChoiceSegment, ChoiceService, WhenClause, WhenClauseSegment};
49pub use circuit_breaker::{
50    CircuitBreakerDecision, CircuitBreakerGate, CircuitBreakerLayer, CircuitBreakerService,
51};
52pub use claim_check::{ClaimCheckOp, ClaimCheckService, KeyExpression};
53pub use content_enricher::{EnrichService, PollEnrichService};
54pub use convert_body::ConvertBodyTo;
55pub use data_format::{JsonDataFormat, XmlDataFormat, ZipDataFormat, builtin_data_format};
56pub use delayer::DelayerService;
57pub use do_try::{CatchClause, CatchMatcher, DoTryService};
58pub use do_try_segment::{CatchClauseSegment, DoTrySegment, FinallyClauseSegment};
59pub use dynamic_router::DynamicRouterService;
60pub use dynamic_set_header::{DynamicSetHeader, DynamicSetHeaderLayer};
61pub use dynamic_set_property::{DynamicSetProperty, DynamicSetPropertyLayer};
62pub use endpoint_pipeline::EndpointPipelineService;
63pub use enrichment_strategy::{EnrichmentStrategy, ThrowOnNoPoll, UseEnrichedBody};
64#[rustfmt::skip]
65#[allow(deprecated)]
66pub use error_handler::{
67    DefaultRouteErrorHandler, ErrorHandlerLayer, ErrorHandlerService, RouteErrorHandler,
68    invoke_processor,
69};
70pub use filter::{FilterSegment, FilterService};
71pub use idempotent_consumer::{IdempotentConsumerSegment, MessageIdExpression};
72pub use load_balancer::{LoadBalanceSegment, LoadBalancerService};
73pub use log::{LogLevel, LogProcessor};
74pub use loop_eip::{CAMEL_LOOP_INDEX, CAMEL_LOOP_SIZE, LoopSegment, LoopService};
75pub use map_body::{MapBody, MapBodyLayer};
76pub use marshal::{MarshalService, UnmarshalService};
77pub use multicast::{CAMEL_MULTICAST_COMPLETE, CAMEL_MULTICAST_INDEX, MulticastService};
78pub use multicast_segment::MulticastSegment;
79pub use recipient_list::RecipientListService;
80pub use routing_slip::RoutingSlipService;
81pub use sampling::SamplingService;
82pub use script_mutator::ScriptMutator;
83pub use security_policy_layer::{SecurityPolicyLayer, SecurityPolicyService};
84pub use set_body::{SetBody, SetBodyLayer};
85pub use set_header::{SetHeader, SetHeaderLayer};
86pub use set_property::{SetProperty, SetPropertyLayer};
87pub use sort::{SortExpression, SortKey, SortService};
88pub use split_segment::SplitSegment;
89pub use splitter::SplitterService;
90pub use stream_cache::StreamCacheService;
91pub use streaming_split_segment::StreamingSplitSegment;
92pub use streaming_splitter::StreamingSplitterService;
93pub use throttler::{ThrottleSegment, ThrottlerService};
94pub use validate::ValidateService;
95pub use wire_tap::{WireTapConfig, WireTapLayer, WireTapService};
96
97// Resequencer
98pub use resequencer::batch::BatchPolicy;
99pub use resequencer::stream::StreamPolicy;
100pub use resequencer::{PassthroughPolicy, ResequencePolicy, ResequencerConfig, ResequencerService};