Package org.apache.camel.model
Interface AggregationStrategyAwareDefinition<Type extends ProcessorDefinition<?>>
-
- All Known Implementing Classes:
AggregateDefinition
,EnrichDefinition
,PollEnrichDefinition
public interface AggregationStrategyAwareDefinition<Type extends ProcessorDefinition<?>>
Enables definitions to supportAggregationStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Type
aggregationStrategy(String aggregationStrategy)
Sets the aggregation strategy to use.Type
aggregationStrategy(org.apache.camel.AggregationStrategy aggregationStrategy)
Sets the aggregation strategy to use.org.apache.camel.AggregationStrategy
getAggregationStrategyBean()
Gets the aggregation strategyString
getAggregationStrategyMethodAllowNull()
If this option is false then the aggregate method is not used for the very first aggregation.String
getAggregationStrategyMethodName()
This option can be used to explicit declare the method name to use, when using beans as the AggregationStrategy.String
getAggregationStrategyRef()
Gets a reference id to lookup the aggregation strategy from the registry
-
-
-
Method Detail
-
aggregationStrategy
Type aggregationStrategy(org.apache.camel.AggregationStrategy aggregationStrategy)
Sets the aggregation strategy to use.- Parameters:
aggregationStrategy
- the aggregation strategy- Returns:
- the builder
-
aggregationStrategy
Type aggregationStrategy(String aggregationStrategy)
Sets the aggregation strategy to use.- Parameters:
aggregationStrategy
- the aggregation strategy- Returns:
- the builder
-
getAggregationStrategyBean
org.apache.camel.AggregationStrategy getAggregationStrategyBean()
Gets the aggregation strategy
-
getAggregationStrategyRef
String getAggregationStrategyRef()
Gets a reference id to lookup the aggregation strategy from the registry
-
getAggregationStrategyMethodName
String getAggregationStrategyMethodName()
This option can be used to explicit declare the method name to use, when using beans as the AggregationStrategy.
-
getAggregationStrategyMethodAllowNull
String getAggregationStrategyMethodAllowNull()
If this option is false then the aggregate method is not used for the very first aggregation. If this option is true then null values is used as the oldExchange (at the very first aggregation), when using beans as the AggregationStrategy.
-
-