Package | Description |
---|---|
org.apache.camel.builder | |
org.apache.camel.model |
The JAXB POJOs for the
XML Configuration
of the routing rules.
|
org.apache.camel.processor |
A collection of Processor
implementations which are used to implement the
Enterprise Integration Patterns
|
org.apache.camel.processor.aggregate |
Helper classes for the Aggregator pattern.
|
org.apache.camel.util.toolbox |
Toolbox classes to create commonly used Aggregation Strategies in a fluent manner.
|
Modifier and Type | Class and Description |
---|---|
class |
AggregationStrategyClause<T> |
class |
EnrichClause<T extends ProcessorDefinition<?>> |
Modifier and Type | Method and Description |
---|---|
AggregationStrategy |
AggregateDefinition.getAggregationStrategy() |
AggregationStrategy |
SplitDefinition.getAggregationStrategy() |
AggregationStrategy |
PollEnrichDefinition.getAggregationStrategy() |
AggregationStrategy |
EnrichDefinition.getAggregationStrategy() |
AggregationStrategy |
MulticastDefinition.getAggregationStrategy() |
AggregationStrategy |
RecipientListDefinition.getAggregationStrategy() |
AggregationStrategy |
ClaimCheckDefinition.getAggregationStrategy() |
Modifier and Type | Method and Description |
---|---|
ExpressionClause<AggregateDefinition> |
ProcessorDefinition.aggregate(AggregationStrategy aggregationStrategy)
Aggregator EIP:
Creates an aggregator allowing you to combine a number of messages together into a single message.
|
AggregateDefinition |
ProcessorDefinition.aggregate(Expression correlationExpression,
AggregationStrategy aggregationStrategy)
Aggregator EIP:
Creates an aggregator allowing you to combine a number of messages together into a single message.
|
AggregateDefinition |
AggregateDefinition.aggregationStrategy(AggregationStrategy aggregationStrategy)
Sets the aggregate strategy to use
|
SplitDefinition |
SplitDefinition.aggregationStrategy(AggregationStrategy aggregationStrategy)
Sets the AggregationStrategy to be used to assemble the replies from the splitted messages, into a single outgoing message from the Splitter.
|
PollEnrichDefinition |
PollEnrichDefinition.aggregationStrategy(AggregationStrategy aggregationStrategy)
Sets the AggregationStrategy to be used to merge the reply from the external service, into a single outgoing message.
|
EnrichDefinition |
EnrichDefinition.aggregationStrategy(AggregationStrategy aggregationStrategy)
Sets the AggregationStrategy to be used to merge the reply from the external service, into a single outgoing message.
|
MulticastDefinition |
MulticastDefinition.aggregationStrategy(AggregationStrategy aggregationStrategy)
Sets the AggregationStrategy to be used to assemble the replies from the multicasts, into a single outgoing message from the Multicast.
|
RecipientListDefinition<Type> |
RecipientListDefinition.aggregationStrategy(AggregationStrategy aggregationStrategy)
Sets the AggregationStrategy to be used to assemble the replies from the recipients, into a single outgoing message from the RecipientList.
|
ClaimCheckDefinition |
ClaimCheckDefinition.aggregationStrategy(AggregationStrategy aggregationStrategy)
To use a custom
AggregationStrategy instead of the default implementation. |
Type |
ProcessorDefinition.enrich(String resourceUri,
AggregationStrategy aggregationStrategy)
The Content Enricher EIP
enriches an exchange with additional data obtained from a
resourceUri . |
Type |
ProcessorDefinition.enrich(String resourceUri,
AggregationStrategy aggregationStrategy,
boolean aggregateOnException)
The Content Enricher EIP
enriches an exchange with additional data obtained from a
resourceUri . |
Type |
ProcessorDefinition.enrich(String resourceUri,
AggregationStrategy aggregationStrategy,
boolean aggregateOnException,
boolean shareUnitOfWork)
The Content Enricher EIP
enriches an exchange with additional data obtained from a
resourceUri . |
MulticastDefinition |
ProcessorDefinition.multicast(AggregationStrategy aggregationStrategy)
Multicast EIP:
Multicasts messages to all its child outputs; so that each processor and
destination gets a copy of the original message to avoid the processors
interfering with each other.
|
MulticastDefinition |
ProcessorDefinition.multicast(AggregationStrategy aggregationStrategy,
boolean parallelProcessing)
Multicast EIP:
Multicasts messages to all its child outputs; so that each processor and
destination gets a copy of the original message to avoid the processors
interfering with each other.
|
Type |
ProcessorDefinition.pollEnrich(String resourceUri,
AggregationStrategy aggregationStrategy)
The Content Enricher EIP
enriches an exchange with additional data obtained from a
resourceUri
using a PollingConsumer to poll the endpoint. |
Type |
ProcessorDefinition.pollEnrich(String resourceUri,
long timeout,
AggregationStrategy aggregationStrategy)
The Content Enricher EIP
enriches an exchange with additional data obtained from a
resourceUri
using a PollingConsumer to poll the endpoint. |
Type |
ProcessorDefinition.pollEnrich(String resourceUri,
long timeout,
AggregationStrategy aggregationStrategy,
boolean aggregateOnException)
The Content Enricher EIP
enriches an exchange with additional data obtained from a
resourceUri
using a PollingConsumer to poll the endpoint. |
void |
AggregateDefinition.setAggregationStrategy(AggregationStrategy aggregationStrategy)
The AggregationStrategy to use.
|
void |
SplitDefinition.setAggregationStrategy(AggregationStrategy aggregationStrategy)
Sets the AggregationStrategy to be used to assemble the replies from the splitted messages, into a single outgoing message from the Splitter.
|
void |
PollEnrichDefinition.setAggregationStrategy(AggregationStrategy aggregationStrategy) |
void |
EnrichDefinition.setAggregationStrategy(AggregationStrategy aggregationStrategy) |
MulticastDefinition |
MulticastDefinition.setAggregationStrategy(AggregationStrategy aggregationStrategy) |
void |
RecipientListDefinition.setAggregationStrategy(AggregationStrategy aggregationStrategy)
Sets the AggregationStrategy to be used to assemble the replies from the recipients, into a single outgoing message from the RecipientList.
|
void |
ClaimCheckDefinition.setAggregationStrategy(AggregationStrategy aggregationStrategy) |
SplitDefinition |
ProcessorDefinition.split(Expression expression,
AggregationStrategy aggregationStrategy)
Splitter EIP:
Creates a splitter allowing you split a message into a number of pieces and process them individually.
|
AggregateDefinition |
AggregateDefinition.strategy(AggregationStrategy aggregationStrategy)
Sets the aggregate strategy to use
|
Constructor and Description |
---|
AggregateDefinition(Expression correlationExpression,
AggregationStrategy aggregationStrategy) |
EnrichDefinition(AggregationStrategy aggregationStrategy) |
PollEnrichDefinition(AggregationStrategy aggregationStrategy,
long timeout) |
Modifier and Type | Class and Description |
---|---|
class |
ClaimCheckAggregationStrategy
Default
AggregationStrategy used by the ClaimCheckProcessor EIP. |
Modifier and Type | Method and Description |
---|---|
protected AggregationStrategy |
ClaimCheckProcessor.createAggregationStrategy() |
AggregationStrategy |
MulticastProcessor.getAggregationStrategy()
|
AggregationStrategy |
ClaimCheckProcessor.getAggregationStrategy() |
AggregationStrategy |
RecipientList.getAggregationStrategy() |
AggregationStrategy |
Enricher.getAggregationStrategy() |
AggregationStrategy |
PollEnricher.getAggregationStrategy() |
protected AggregationStrategy |
MulticastProcessor.getAggregationStrategy(Exchange exchange) |
Modifier and Type | Method and Description |
---|---|
protected void |
MulticastProcessor.doAggregate(AggregationStrategy strategy,
AtomicExchange result,
Exchange exchange)
Aggregate the
Exchange with the current result. |
protected void |
MulticastProcessor.doAggregateInternal(AggregationStrategy strategy,
AtomicExchange result,
Exchange exchange)
Aggregate the
Exchange with the current result. |
void |
ClaimCheckProcessor.setAggregationStrategy(AggregationStrategy aggregationStrategy) |
void |
RecipientList.setAggregationStrategy(AggregationStrategy aggregationStrategy) |
void |
Enricher.setAggregationStrategy(AggregationStrategy aggregationStrategy) |
void |
PollEnricher.setAggregationStrategy(AggregationStrategy aggregationStrategy)
Sets the aggregation strategy for this poll enricher.
|
protected void |
MulticastProcessor.setAggregationStrategyOnExchange(Exchange exchange,
AggregationStrategy aggregationStrategy)
Sets the given
AggregationStrategy on the Exchange . |
Constructor and Description |
---|
MulticastProcessor(CamelContext camelContext,
Collection<Processor> processors,
AggregationStrategy aggregationStrategy) |
MulticastProcessor(CamelContext camelContext,
Collection<Processor> processors,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork)
Deprecated.
|
MulticastProcessor(CamelContext camelContext,
Collection<Processor> processors,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork,
boolean parallelAggregate) |
MulticastProcessor(CamelContext camelContext,
Collection<Processor> processors,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork,
boolean parallelAggregate,
boolean stopOnAggregateException) |
RecipientListProcessor(CamelContext camelContext,
ProducerCache producerCache,
Iterator<Object> iter,
AggregationStrategy aggregationStrategy) |
RecipientListProcessor(CamelContext camelContext,
ProducerCache producerCache,
Iterator<Object> iter,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork)
Deprecated.
|
RecipientListProcessor(CamelContext camelContext,
ProducerCache producerCache,
Iterator<Object> iter,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork,
boolean parallelAggregate) |
RecipientListProcessor(CamelContext camelContext,
ProducerCache producerCache,
Iterator<Object> iter,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork,
boolean parallelAggregate,
boolean stopOnAggregateException) |
Splitter(CamelContext camelContext,
Expression expression,
Processor destination,
AggregationStrategy aggregationStrategy) |
Splitter(CamelContext camelContext,
Expression expression,
Processor destination,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean useSubUnitOfWork)
Deprecated.
|
Splitter(CamelContext camelContext,
Expression expression,
Processor destination,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean useSubUnitOfWork,
boolean parallelAggregate) |
Splitter(CamelContext camelContext,
Expression expression,
Processor destination,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean useSubUnitOfWork,
boolean parallelAggregate,
boolean stopOnAggregateException) |
Modifier and Type | Interface and Description |
---|---|
interface |
CompletionAwareAggregationStrategy
A specialized
AggregationStrategy which has callback when the aggregated Exchange is completed. |
interface |
OptimisticLockingAwareAggregationStrategy
A specialized
AggregationStrategy which gets a callback when the aggregated Exchange fails to add
in the OptimisticLockingAggregationRepository because of
an OptimisticLockingAggregationRepository.OptimisticLockingException . |
interface |
PreCompletionAwareAggregationStrategy
A specialized
AggregationStrategy which enables the aggregator to run
in pre-completion mode. |
interface |
TimeoutAwareAggregationStrategy
A specialized
AggregationStrategy which can handle timeouts as well. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractListAggregationStrategy<V>
Aggregate all exchanges into a
List of values defined by the AbstractListAggregationStrategy.getValue(Exchange) call. |
class |
AggregationStrategyBeanAdapter
An
AggregationStrategy that adapts to a POJO. |
class |
GroupedBodyAggregationStrategy
|
class |
GroupedExchangeAggregationStrategy
|
class |
GroupedMessageAggregationStrategy
|
class |
ShareUnitOfWorkAggregationStrategy
An
AggregationStrategy which are used when the option shareUnitOfWork is enabled
on EIPs such as multicast, splitter or recipientList. |
class |
UseLatestAggregationStrategy
An
AggregationStrategy which just uses the latest exchange which is useful
for status messages where old status messages have no real value. |
class |
UseOriginalAggregationStrategy
An
AggregationStrategy which just uses the original exchange
which can be needed when you want to preserve the original Exchange. |
Modifier and Type | Method and Description |
---|---|
AggregationStrategy |
AggregateProcessor.getAggregationStrategy() |
AggregationStrategy |
DelegateAggregationStrategy.getDelegate()
Gets the delegated
AggregationStrategy |
AggregationStrategy |
ShareUnitOfWorkAggregationStrategy.getDelegate() |
Modifier and Type | Method and Description |
---|---|
void |
AggregateProcessor.setAggregationStrategy(AggregationStrategy aggregationStrategy) |
Constructor and Description |
---|
AggregateProcessor(CamelContext camelContext,
Processor processor,
Expression correlationExpression,
AggregationStrategy aggregationStrategy,
ExecutorService executorService,
boolean shutdownExecutorService) |
ShareUnitOfWorkAggregationStrategy(AggregationStrategy strategy) |
Modifier and Type | Class and Description |
---|---|
class |
FlexibleAggregationStrategy<E>
The Flexible Aggregation Strategy is a highly customizable, fluently configurable aggregation strategy.
|
class |
XsltAggregationStrategy
The XSLT Aggregation Strategy enables you to use XSL stylesheets to aggregate messages.
|
Modifier and Type | Method and Description |
---|---|
static AggregationStrategy |
AggregationStrategies.bean(Class<?> type)
Creates a
AggregationStrategyBeanAdapter for using a POJO as the aggregation strategy. |
static AggregationStrategy |
AggregationStrategies.bean(Class<?> type,
String methodName)
Creates a
AggregationStrategyBeanAdapter for using a POJO as the aggregation strategy. |
static AggregationStrategy |
AggregationStrategies.bean(Object bean)
Creates a
AggregationStrategyBeanAdapter for using a POJO as the aggregation strategy. |
static AggregationStrategy |
AggregationStrategies.bean(Object bean,
String methodName)
Creates a
AggregationStrategyBeanAdapter for using a POJO as the aggregation strategy. |
static AggregationStrategy |
AggregationStrategies.beanAllowNull(Class<?> type,
String methodName)
Creates a
AggregationStrategyBeanAdapter for using a POJO as the aggregation strategy. |
static AggregationStrategy |
AggregationStrategies.beanAllowNull(Object bean,
String methodName)
Creates a
AggregationStrategyBeanAdapter for using a POJO as the aggregation strategy. |
static AggregationStrategy |
AggregationStrategies.groupedBody()
Creates a
GroupedBodyAggregationStrategy aggregation strategy. |
static AggregationStrategy |
AggregationStrategies.groupedExchange()
Creates a
GroupedExchangeAggregationStrategy aggregation strategy. |
static AggregationStrategy |
AggregationStrategies.useLatest()
Use the latest incoming exchange.
|
static AggregationStrategy |
AggregationStrategies.useOriginal()
Use the original exchange.
|
static AggregationStrategy |
AggregationStrategies.useOriginal(boolean propagateException)
Use the original exchange.
|
Apache Camel