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