Class GroupedBodyAggregationStrategy
java.lang.Object
org.apache.camel.processor.aggregate.AbstractListAggregationStrategy<Object>
org.apache.camel.processor.aggregate.GroupedBodyAggregationStrategy
- All Implemented Interfaces:
org.apache.camel.AggregationStrategy
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.camel.processor.aggregate.AbstractListAggregationStrategy
aggregate, isStoreAsBodyOnCompletion, onCompletion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.AggregationStrategy
aggregate, canPreComplete, onCompletion, onOptimisticLockFailure, preComplete, timeout
-
Constructor Details
-
GroupedBodyAggregationStrategy
public GroupedBodyAggregationStrategy()
-
-
Method Details
-
getValue
Description copied from class:AbstractListAggregationStrategy
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. If null is returned, then the value is not added to theList
.- Specified by:
getValue
in classAbstractListAggregationStrategy<Object>
- Parameters:
exchange
- The exchange that is used to retrieve the value from- Returns:
- An instance of V that is the associated value of the passed exchange
-