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
public class GroupedBodyAggregationStrategy extends AbstractListAggregationStrategy<Object>
-
-
Constructor Summary
Constructors Constructor Description GroupedBodyAggregationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
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.-
Methods inherited from class org.apache.camel.processor.aggregate.AbstractListAggregationStrategy
aggregate, isStoreAsBodyOnCompletion, onCompletion
-
-
-
-
Method Detail
-
getValue
public Object getValue(org.apache.camel.Exchange exchange)
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
-
-