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_INVALIDATED_COUNT, CAMEL_CACHE_PEEK_HIT, CAMEL_CACHE_PEEK_STALE, CacheClearService,
53    CacheInvalidateService, CacheInvalidateTarget, CachePeekStaleService, CacheService,
54    CacheStatsService, PeekStaleMissPolicy,
55};
56pub use choice::{ChoiceSegment, ChoiceService, WhenClause, WhenClauseSegment};
57pub use circuit_breaker::{
58    CircuitBreakerDecision, CircuitBreakerGate, CircuitBreakerLayer, CircuitBreakerService,
59};
60pub use claim_check::{ClaimCheckOp, ClaimCheckService, KeyExpression};
61pub use content_enricher::{EnrichService, PollEnrichService};
62pub use convert_body::ConvertBodyTo;
63pub use data_format::{
64    CAMEL_CSV_HEADER_RECORD, CsvConfig, CsvDataFormat, JsonConfig, JsonDataFormat, QuoteMode,
65    RecordSeparator, XmlConfig, XmlDataFormat, ZipConfig, ZipDataFormat, builtin_data_format,
66    builtin_data_format_with_config,
67};
68pub use delayer::DelayerService;
69pub use do_try::{CatchClause, CatchMatcher, DoTryService};
70pub use do_try_segment::{CatchClauseSegment, DoTrySegment, FinallyClauseSegment};
71pub use dynamic_router::DynamicRouterService;
72pub use dynamic_set_header::{DynamicSetHeader, DynamicSetHeaderIfAbsent, DynamicSetHeaderLayer};
73pub use dynamic_set_property::{DynamicSetProperty, DynamicSetPropertyLayer};
74pub use endpoint_pipeline::EndpointPipelineService;
75pub use enrichment_strategy::{EnrichmentStrategy, ThrowOnNoPoll, UseEnrichedBody};
76#[rustfmt::skip]
77#[allow(deprecated)]
78pub use error_handler::{
79    DefaultRouteErrorHandler, ErrorHandlerLayer, ErrorHandlerService, RouteErrorHandler,
80    invoke_processor,
81};
82pub use filter::{FilterSegment, FilterService};
83pub use idempotent_consumer::{IdempotentConsumerSegment, MessageIdExpression};
84pub use json_schema_validate::JsonSchemaValidateService;
85pub use load_balancer::{LoadBalanceSegment, LoadBalancerService};
86pub use log::{LogLevel, LogProcessor};
87pub use loop_eip::{CAMEL_LOOP_INDEX, CAMEL_LOOP_SIZE, LoopSegment, LoopService};
88pub use map_body::{MapBody, MapBodyLayer};
89pub use marshal::{MarshalService, UnmarshalService};
90pub use multicast::{CAMEL_MULTICAST_COMPLETE, CAMEL_MULTICAST_INDEX, MulticastService};
91pub use multicast_segment::MulticastSegment;
92pub use recipient_list::RecipientListService;
93pub use remove_header::{RemoveHeader, RemoveHeaderLayer};
94pub use routing_slip::RoutingSlipService;
95pub use sampling::SamplingService;
96pub use script_mutator::ScriptMutator;
97pub use security_policy_layer::{SecurityPolicyLayer, SecurityPolicyService};
98pub use set_body::{SetBody, SetBodyLayer};
99pub use set_header::{SetHeader, SetHeaderIfAbsent, SetHeaderLayer};
100pub use set_property::{SetProperty, SetPropertyLayer};
101pub use sort::{SortExpression, SortKey, SortService};
102pub use split_segment::SplitSegment;
103pub use splitter::SplitterService;
104pub use stream_cache::StreamCacheService;
105pub use streaming_split_segment::StreamingSplitSegment;
106pub use streaming_splitter::StreamingSplitterService;
107pub use throttler::{ThrottleSegment, ThrottlerService};
108pub use validate::ValidateService;
109pub use wire_tap::{WireTapConfig, WireTapLayer, WireTapLifecycle, WireTapService};
110
111// Resequencer
112pub use resequencer::batch::BatchPolicy;
113pub use resequencer::stream::StreamPolicy;
114pub use resequencer::{PassthroughPolicy, ResequencePolicy, ResequencerConfig, ResequencerService};