Package | Description |
---|---|
org.apache.camel.model |
The JAXB POJOs for the XML Configuration of the routing
rules.
|
Modifier and Type | Method and Description |
---|---|
AggregateDefinition |
ProcessorDefinition.aggregate(org.apache.camel.Expression correlationExpression)
Aggregator EIP: Creates an aggregator allowing you to
combine a number of messages together into a single message.
|
AggregateDefinition |
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 |
AggregateDefinition.aggregateController(org.apache.camel.processor.aggregate.AggregateController aggregateController)
To use a
AggregateController to allow external sources to control
this aggregator. |
AggregateDefinition |
AggregateDefinition.aggregateController(Supplier<org.apache.camel.processor.aggregate.AggregateController> aggregateController)
To use a
AggregateController to allow external sources to control
this aggregator. |
AggregateDefinition |
AggregateDefinition.aggregationRepository(org.apache.camel.spi.AggregationRepository aggregationRepository)
Sets the custom aggregate repository to use.
|
AggregateDefinition |
AggregateDefinition.aggregationRepository(Supplier<org.apache.camel.spi.AggregationRepository> aggregationRepository)
Sets the custom aggregate repository to use.
|
AggregateDefinition |
AggregateDefinition.aggregationRepositoryRef(String aggregationRepositoryRef)
Sets the custom aggregate repository to use.
|
AggregateDefinition |
AggregateDefinition.aggregationStrategy(org.apache.camel.AggregationStrategy aggregationStrategy)
Sets the aggregate strategy to use
|
AggregateDefinition |
AggregateDefinition.aggregationStrategy(Supplier<org.apache.camel.AggregationStrategy> aggregationStrategy)
Sets the aggregate strategy to use
|
AggregateDefinition |
AggregateDefinition.aggregationStrategyMethodAllowNull()
Sets allowing null when using a POJO as
AggregationStrategy . |
AggregateDefinition |
AggregateDefinition.aggregationStrategyMethodName(String methodName)
Sets the method name to use when using a POJO as
AggregationStrategy . |
AggregateDefinition |
AggregateDefinition.aggregationStrategyRef(String aggregationStrategyRef)
Sets the aggregate strategy to use
|
AggregateDefinition |
AggregateDefinition.closeCorrelationKeyOnCompletion(int capacity)
Closes a correlation key when its complete.
|
AggregateDefinition |
AggregateDefinition.completeAllOnStop()
Indicates to wait to complete all current and partial (pending) aggregated exchanges when the context is stopped.
|
AggregateDefinition |
AggregateDefinition.completion(org.apache.camel.Predicate predicate)
A Predicate to indicate when an aggregated exchange is complete.
|
AggregateDefinition |
AggregateDefinition.completionFromBatchConsumer()
Enables the batch completion mode where we aggregate from a
BatchConsumer and aggregate
the total number of exchanges the BatchConsumer has reported as total by checking the
exchange property Exchange.BATCH_COMPLETE when its complete. |
AggregateDefinition |
AggregateDefinition.completionInterval(long completionInterval)
A repeating period in millis by which the aggregator will complete all current aggregated exchanges.
|
AggregateDefinition |
AggregateDefinition.completionInterval(String completionInterval)
A repeating period in millis by which the aggregator will complete all current aggregated exchanges.
|
AggregateDefinition |
AggregateDefinition.completionOnNewCorrelationGroup()
Enables completion on all previous groups when a new incoming correlation group.
|
AggregateDefinition |
AggregateDefinition.completionPredicate(org.apache.camel.Predicate predicate)
A Predicate to indicate when an aggregated exchange is complete.
|
AggregateDefinition |
AggregateDefinition.completionSize(org.apache.camel.Expression completionSize)
Number of messages aggregated before the aggregation is complete.
|
AggregateDefinition |
AggregateDefinition.completionSize(int completionSize)
Number of messages aggregated before the aggregation is complete.
|
AggregateDefinition |
AggregateDefinition.completionSize(String completionSize)
Number of messages aggregated before the aggregation is complete.
|
AggregateDefinition |
AggregateDefinition.completionTimeout(org.apache.camel.Expression completionTimeout)
Time in millis that an aggregated exchange should be inactive before its complete (timeout).
|
AggregateDefinition |
AggregateDefinition.completionTimeout(long completionTimeout)
Time in millis that an aggregated exchange should be inactive before its complete (timeout).
|
AggregateDefinition |
AggregateDefinition.completionTimeout(String completionTimeout)
Time in millis that an aggregated exchange should be inactive before its complete (timeout).
|
AggregateDefinition |
AggregateDefinition.completionTimeoutCheckerInterval(long completionTimeoutCheckerInterval)
Interval in millis that is used by the background task that checks for timeouts
(
TimeoutMap ). |
AggregateDefinition |
AggregateDefinition.discardOnAggregationFailure()
Discards the aggregated message when aggregation failed (an exception was thrown from
AggregationStrategy . |
AggregateDefinition |
AggregateDefinition.discardOnCompletionTimeout()
Discards the aggregated message on completion timeout.
|
AggregateDefinition |
AggregateDefinition.eagerCheckCompletion()
Use eager completion checking which means that the completionPredicate will use the incoming Exchange.
|
AggregateDefinition |
AggregateDefinition.executorService(ExecutorService executorService)
If using parallelProcessing you can specify a custom thread pool to be used.
|
AggregateDefinition |
AggregateDefinition.executorServiceRef(String executorServiceRef)
If using parallelProcessing you can specify a custom thread pool to be used.
|
AggregateDefinition |
AggregateDefinition.forceCompletionOnStop()
Indicates to complete all current aggregated exchanges when the context is stopped
|
AggregateDefinition |
AggregateDefinition.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 |
AggregateDefinition.optimisticLocking()
Turns on using optimistic locking, which requires the aggregationRepository being used, is supporting this by
implementing
OptimisticLockingAggregationRepository . |
AggregateDefinition |
AggregateDefinition.optimisticLockRetryPolicy(org.apache.camel.processor.aggregate.OptimisticLockRetryPolicy policy)
Allows to configure retry settings when using optimistic locking.
|
AggregateDefinition |
AggregateDefinition.parallelProcessing()
When aggregated are completed they are being send out of the aggregator.
|
AggregateDefinition |
AggregateDefinition.parallelProcessing(boolean parallelProcessing)
When aggregated are completed they are being send out of the aggregator.
|
AggregateDefinition |
AggregateDefinition.strategy(org.apache.camel.AggregationStrategy aggregationStrategy)
Deprecated.
|
AggregateDefinition |
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.
|
AggregateDefinition |
AggregateDefinition.timeoutCheckerExecutorService(Supplier<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.
|
AggregateDefinition |
AggregateDefinition.timeoutCheckerExecutorServiceRef(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.
|
Modifier and Type | Method and Description |
---|---|
ExpressionClause<AggregateDefinition> |
ProcessorDefinition.aggregate()
Aggregator EIP: Creates an aggregator allowing you to
combine a number of messages together into a single message.
|
ExpressionClause<AggregateDefinition> |
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.
|
AggregationStrategyClause<AggregateDefinition> |
AggregateDefinition.aggregationStrategy()
Sets the AggregationStrategy to use with a fluent builder.
|
PredicateClause<AggregateDefinition> |
AggregateDefinition.completion()
A Predicate to indicate when an aggregated exchange is complete.
|
PredicateClause<AggregateDefinition> |
AggregateDefinition.completionPredicate()
A Predicate to indicate when an aggregated exchange is complete.
|
AggregationStrategyClause<AggregateDefinition> |
AggregateDefinition.strategy()
Deprecated.
|
Apache Camel