public class GroupedMessageAggregationStrategy extends AbstractListAggregationStrategy<org.apache.camel.Message>
| Constructor and Description |
|---|
GroupedMessageAggregationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Exchange |
aggregate(org.apache.camel.Exchange oldExchange,
org.apache.camel.Exchange newExchange)
This method will aggregate the old and new exchange and return the result.
|
org.apache.camel.Message |
getValue(org.apache.camel.Exchange exchange)
This method is implemented by the sub-class and is called to retrieve an instance of the value that will be
aggregated and forwarded to the receiving end point.
|
isStoreAsBodyOnCompletion, onCompletionpublic org.apache.camel.Exchange aggregate(org.apache.camel.Exchange oldExchange,
org.apache.camel.Exchange newExchange)
AbstractListAggregationStrategyaggregate in interface org.apache.camel.AggregationStrategyaggregate in class AbstractListAggregationStrategy<org.apache.camel.Message>oldExchange - The oldest exchange, can be nullnewExchange - The newest exchange, can be nullpublic org.apache.camel.Message getValue(org.apache.camel.Exchange exchange)
AbstractListAggregationStrategyList.getValue in class AbstractListAggregationStrategy<org.apache.camel.Message>exchange - The exchange that is used to retrieve the value fromApache Camel