Skip to main content

camel_processor/
lib.rs

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