Package org.apache.camel.processor.aggregate
package org.apache.camel.processor.aggregate
Helper classes for the Aggregator pattern.
-
ClassDescriptionAggregate all exchanges into a
Listof values defined by theAbstractListAggregationStrategy.getValue(Exchange)call.A controller which allows controlling aAggregateProcessorfrom an external source, such as Java API or JMX.An implementation of the Aggregator pattern where a batch of messages is processed (up to a maximum amount or until some timeout is reached) and messages for the same correlation key are combined using some kind ofAggregationStrategy(by default the latest message is used) to compress many message exchanges into a smaller number of exchanges.Synchronization class to avoid busy-loop when waiting for exchanges to be processed during shutdown.Various statistics of the aggregatorAnAggregationStrategythat adapts to a POJO.Class information about the POJO method to call when using theAggregationStrategyBeanAdapter.AnAggregationStrategythat adapts to aBiFunction.Method information about the POJO method to call when using theAggregationStrategyBeanAdapter.Parameter information to be used for method invocation.The correlation key has been closed and the Exchange cannot be aggregated.A defaultAggregateControllerthat offers Java and JMX API.Generated by camel build tools - do NOT edit this file!Aggregate all exchanges into a single combined Exchange holding all the aggregated exchanges in aListofExchangeas the message body.Generated by camel build tools - do NOT edit this file!Aggregate allMessageinto a single combined Exchange holding all the aggregated messages in aListofMessageas the message body.Generated by camel build tools - do NOT edit this file!A memory basedAggregationRepositorywhich storesExchanges in memory only.Generated by camel build tools - do NOT edit this file!Class to control how failed optimistic locks are tried.AnAggregationStrategywhich are used when the option shareUnitOfWork is enabled on EIPs such as multicast, splitter or recipientList.Aggregate result of pick expression into a single combined Exchange holding all the aggregated bodies in aStringas the message body.Generated by camel build tools - do NOT edit this file!AnAggregationStrategywhich just uses the latest exchange which is useful for status messages where old status messages have no real value.Generated by camel build tools - do NOT edit this file!AnAggregationStrategywhich just uses the original exchange which can be needed when you want to preserve the original Exchange.Generated by camel build tools - do NOT edit this file!