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 support
AggregationStrategy
-
Method Summary
Modifier and TypeMethodDescriptionaggregationStrategy
(String aggregationStrategy) Sets the aggregation strategy to use.aggregationStrategy
(org.apache.camel.AggregationStrategy aggregationStrategy) Sets the aggregation strategy to use.org.apache.camel.AggregationStrategy
Gets the aggregation strategyIf this option is false then the aggregate method is not used for the very first aggregation.This option can be used to explicit declare the method name to use, when using beans as the AggregationStrategy.Gets a reference id to lookup the aggregation strategy from the registry
-
Method Details
-
aggregationStrategy
Sets the aggregation strategy to use.- Parameters:
aggregationStrategy
- the aggregation strategy- Returns:
- the builder
-
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.
-