Uses of Class
org.apache.camel.model.AggregateDefinition
Packages that use AggregateDefinition
-
Uses of AggregateDefinition in org.apache.camel.model
Methods in org.apache.camel.model that return AggregateDefinitionModifier and TypeMethodDescriptionProcessorDefinition.aggregate(org.apache.camel.Expression correlationExpression) Aggregator EIP: Creates an aggregator allowing you to combine a number of messages together into a single message.ProcessorDefinition.aggregate(org.apache.camel.Expression correlationExpression, org.apache.camel.AggregationStrategy aggregationStrategy) Aggregator EIP: Creates an aggregator allowing you to combine a number of messages together into a single message.AggregateDefinition.aggregateController(String aggregateController) To use aAggregateControllerto allow external sources to control this aggregator.AggregateDefinition.aggregateController(org.apache.camel.processor.aggregate.AggregateController aggregateController) To use aAggregateControllerto allow external sources to control this aggregator.AggregateDefinition.aggregationRepository(String aggregationRepository) Sets the custom aggregate repository to use.AggregateDefinition.aggregationRepository(org.apache.camel.spi.AggregationRepository aggregationRepository) Sets the custom aggregate repository to use.AggregateDefinition.aggregationStrategy(String aggregationStrategy) Sets the aggregate strategy to useAggregateDefinition.aggregationStrategy(org.apache.camel.AggregationStrategy aggregationStrategy) Sets the aggregate strategy to useAggregateDefinition.aggregationStrategyMethodAllowNull()Sets allowing null when using a bean asAggregationStrategy.AggregateDefinition.aggregationStrategyMethodName(String methodName) Sets the method name to use when using a bean asAggregationStrategy.AggregateDefinition.closeCorrelationKeyOnCompletion(int capacity) Closes a correlation key when its complete.AggregateDefinition.completeAllOnStop()Indicates to wait to complete all current and partial (pending) aggregated exchanges when the context is stopped.AggregateDefinition.completion(org.apache.camel.Predicate predicate) A Predicate to indicate when an aggregated exchange is complete.AggregateDefinition.completionFromBatchConsumer()Enables the batch completion mode where we aggregate from aBatchConsumerand aggregate the total number of exchanges theBatchConsumerhas reported as total by checking the exchange propertyExchange.BATCH_COMPLETEwhen its complete.AggregateDefinition.completionInterval(long completionInterval) A repeating period in millis by which the aggregator will complete all current aggregated exchanges.AggregateDefinition.completionInterval(String completionInterval) A repeating period in millis by which the aggregator will complete all current aggregated exchanges.AggregateDefinition.completionOnNewCorrelationGroup()Enables completion on all previous groups when a new incoming correlation group.AggregateDefinition.completionPredicate(org.apache.camel.Predicate predicate) A Predicate to indicate when an aggregated exchange is complete.AggregateDefinition.completionSize(int completionSize) Number of messages aggregated before the aggregation is complete.AggregateDefinition.completionSize(String completionSize) Number of messages aggregated before the aggregation is complete.AggregateDefinition.completionSize(org.apache.camel.Expression completionSize) Number of messages aggregated before the aggregation is complete.AggregateDefinition.completionTimeout(long completionTimeout) Time in millis that an aggregated exchange should be inactive before its complete (timeout).AggregateDefinition.completionTimeout(String completionTimeout) Time in millis that an aggregated exchange should be inactive before its complete (timeout).AggregateDefinition.completionTimeout(org.apache.camel.Expression completionTimeout) Time in millis that an aggregated exchange should be inactive before its complete (timeout).AggregateDefinition.completionTimeoutCheckerInterval(long completionTimeoutCheckerInterval) Interval in millis that is used by the background task that checks for timeouts (TimeoutMap).AggregateDefinition.discardOnAggregationFailure()Discards the aggregated message when aggregation failed (an exception was thrown fromAggregationStrategy.AggregateDefinition.discardOnCompletionTimeout()Discards the aggregated message on completion timeout.AggregateDefinition.eagerCheckCompletion()Use eager completion checking which means that the completionPredicate will use the incoming Exchange.AggregateDefinition.executorService(String executorService) If using parallelProcessing you can specify a custom thread pool to be used.AggregateDefinition.executorService(ExecutorService executorService) If using parallelProcessing you can specify a custom thread pool to be used.AggregateDefinition.forceCompletionOnStop()Indicates to complete all current aggregated exchanges when the context is stoppedAggregateDefinition.ignoreInvalidCorrelationKeys()If a correlation key cannot be successfully evaluated it will be ignored by logging a DEBUG and then just ignore the incoming Exchange.AggregateDefinition.optimisticLocking()Turns on using optimistic locking, which requires the aggregationRepository being used, is supporting this by implementingOptimisticLockingAggregationRepository.AggregateDefinition.optimisticLockRetryPolicy(org.apache.camel.processor.aggregate.OptimisticLockRetryPolicy policy) Allows to configure retry settings when using optimistic locking.AggregateDefinition.parallelProcessing()When aggregated are completed they are being send out of the aggregator.AggregateDefinition.parallelProcessing(boolean parallelProcessing) When aggregated are completed they are being send out of the aggregator.AggregateDefinition.timeoutCheckerExecutorService(String executorServiceRef) If using either of the completionTimeout, completionTimeoutExpression, or completionInterval options a background thread is created to check for the completion for every aggregator.AggregateDefinition.timeoutCheckerExecutorService(ScheduledExecutorService executorService) If using either of the completionTimeout, completionTimeoutExpression, or completionInterval options a background thread is created to check for the completion for every aggregator.Methods in org.apache.camel.model that return types with arguments of type AggregateDefinitionModifier and TypeMethodDescriptionProcessorDefinition.aggregate()Aggregator EIP: Creates an aggregator allowing you to combine a number of messages together into a single message.ProcessorDefinition.aggregate(org.apache.camel.AggregationStrategy aggregationStrategy) Aggregator EIP: Creates an aggregator allowing you to combine a number of messages together into a single message.AggregateDefinition.aggregationStrategy()Sets the AggregationStrategy to use with a fluent builder.AggregateDefinition.completion()A Predicate to indicate when an aggregated exchange is complete.AggregateDefinition.completionPredicate()A Predicate to indicate when an aggregated exchange is complete.