Skip to main content

camel_processor/
lib.rs

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