Package org.apache.camel.processor.aggregate

Helper classes for the Aggregator pattern.

See:
          Description

Interface Summary
AggregationStrategy A strategy for aggregating two exchanges together into a single exchange.
CompletionAwareAggregationStrategy A specialized AggregationStrategy which has callback when the aggregated Exchange is completed.
OptimisticLockingAwareAggregationStrategy A specialized AggregationStrategy which gets a callback when the aggregated Exchange fails to add in the OptimisticLockingAggregationRepository because of an OptimisticLockingAggregationRepository.OptimisticLockingException.
TimeoutAwareAggregationStrategy A specialized AggregationStrategy which can handle timeouts as well.
 

Class Summary
AbstractListAggregationStrategy<V> Aggregate all exchanges into a List of values defined by the AbstractListAggregationStrategy.getValue(Exchange) call.
AggregateProcessor An implementation of the Aggregator pattern where a batch of messages are processed (up to a maximum amount or until some timeout is reached) and messages for the same correlation key are combined together using some kind of AggregationStrategy (by default the latest message is used) to compress many message exchanges into a smaller number of exchanges.
AggregationStrategyBeanAdapter An AggregationStrategy that adapts to a POJO.
AggregationStrategyBeanInfo Class information about the POJO method to call when using the AggregationStrategyBeanAdapter.
AggregationStrategyMethodInfo Method information about the POJO method to call when using the AggregationStrategyBeanAdapter.
GroupedExchangeAggregationStrategy Aggregate all exchanges into a single combined Exchange holding all the aggregated exchanges in a List as a exchange property with the key Exchange.GROUPED_EXCHANGE.
MemoryAggregationRepository A memory based AggregationRepository which stores Exchanges in memory only.
OptimisticLockRetryPolicy Class to control how failed optimistic locks are tried.
UseLatestAggregationStrategy An AggregationStrategy which just uses the latest exchange which is useful for status messages where old status messages have no real value.
UseOriginalAggregationStrategy An AggregationStrategy which just uses the original exchange which can be needed when you want to preserve the original Exchange.
 

Exception Summary
ClosedCorrelationKeyException The correlation key has been closed and the Exchange cannot be aggregated.
 

Package org.apache.camel.processor.aggregate Description

Helper classes for the Aggregator pattern.



Apache Camel