LibraryToggle FramesPrintFeedback

Name

Aggregate — Aggregates many messages into a single message

Properties

Table 3.1 describes the properties you can specify using the properties editor.

Table 3.1. Aggregate Properties

NameDescription
Correlation ExpressionSpecifies the expression used to correlate the messages that are aggregated.
languageSpecifies the expression language used to process the expression.
Completion Size ExpressionSpecifies an expression used to determine when aggregation is complete based on the number of exchanges processed.
languageSpecifies the expression language used to process the expression.
Completion PredicateSpecifies the expression used to determine when the aggregated message is complete based on the aggregated message's contents.
languageSpecifies the expression language used to process the expression.
Completion Timeout ExpressionSpecifies an expression used to determine when aggregation is complete based on the amount of time the aggregator has been inactive.
languageSpecifies the expression language used to process the expression.
Strategy RefSpecifies a reference for looking up the AggregationStrategy in the registry.
Close Correlation Key On CompletionSpecifies the number of closed correlation keys stored in the cache used to determine if an exchange should be accepted.
Completion TimeoutSpecifies the amount of time, in milliseconds, the aggregator must be inactive to complete an aggregated message. The property cannot be used with Completion Interval.
Inherit Error HandlerSpecifies if the node should use the error handler configured for the route.
Executor Service RefSpecifies a reference for looking up the executorService to use for thread pool management.
Completion IntervalSpecifies an interval of time, in milliseconds, after which the aggregator completes any in process aggregate messages. This property cannot be used with Completion Timeout.
Ignore Invalid Correlation KeysSpecifies if the aggregator ignores invalid correlation keys. The default behavior is to throw an exception.
Aggregation Repository RefSpecifies a reference for looking up a custom AggregationRepository in the registry. The AggregationRepository stores the messages while they are held.
Discard On Completion TimeoutSpecifies whether aggregates that are completed do to a timeout are discarded.
Completion From Batch ConsumerSpecifies whether aggregates can be completed based on information from a batch consumer.
Completion SizeSpecifies the number of exchanges the aggregator processes before marking the aggregated message complete.
Eager Check CompletionSpecifies if the aggregator places the completion predicate gets access to the incoming exchange.
Group ExchangesSpecifies if the groups all of the outgoing exchanges into a single GroupedExchange object.
Parallel ProcessingSpecifies if the aggregator processes multiple messages at a time.
IdSpecifies a unique identifier for the endpoint. The Id can be used to refer to the endpoint in the Apache Camel configuration file.
DescriptionSpecifies a text description of the bean. The description is included in the generated XML file.

Comments powered by Disqus