Interface AggregationStrategyAwareDefinition<Type extends ProcessorDefinition<?>>

All Known Implementing Classes:
AggregateDefinition, EnrichDefinition, PollEnrichDefinition

public interface AggregationStrategyAwareDefinition<Type extends ProcessorDefinition<?>>
Enables definitions to support AggregationStrategy
  • Method Details

    • 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.