Uses of Class
org.apache.camel.builder.FlexibleAggregationStrategy
Packages that use FlexibleAggregationStrategy
Package
Description
-
Uses of FlexibleAggregationStrategy in org.apache.camel.builder
Methods in org.apache.camel.builder that return FlexibleAggregationStrategyModifier and TypeMethodDescriptionFlexibleAggregationStrategy.accumulateInCollection
(Class<? extends Collection> collectionType) Accumulate the result of the pick expression in a collection of the designated type.Cast the result of the pick expression to this type.FlexibleAggregationStrategy.completionAware
(FlexibleAggregationStrategy.CompletionAwareMixin completionMixin) Plugs in logic to execute when an aggregation batch completes.FlexibleAggregationStrategy.condition
(org.apache.camel.Predicate predicate) Set a filter condition such as only results satisfying it will be aggregated.static FlexibleAggregationStrategy<Object>
AggregationStrategies.flexible()
Creates aFlexibleAggregationStrategy
with no particular type, i.e.static <T> FlexibleAggregationStrategy<T>
Creates aFlexibleAggregationStrategy
pivoting around a particular type, e.g.FlexibleAggregationStrategy.ignoreInvalidCasts()
Ignores invalid casts instead of throwing an exception if the pick expression result cannot be casted to the specified type.FlexibleAggregationStrategy.pick
(org.apache.camel.Expression expression) Set an expression to extract the element to be aggregated from the incomingExchange
.FlexibleAggregationStrategy.storeInBody()
Store the result of this Aggregation Strategy (whether an atomic element or a Collection) in the body of the IN message.FlexibleAggregationStrategy.storeInHeader
(String headerName) Store the result of this Aggregation Strategy (whether an atomic element or a Collection) in an IN message header with the designated name.FlexibleAggregationStrategy.storeInProperty
(String propertyName) Store the result of this Aggregation Strategy (whether an atomic element or a Collection) in a property with the designated name.FlexibleAggregationStrategy.storeNulls()
Enables storing null values in the resulting collection.FlexibleAggregationStrategy.timeoutAware
(FlexibleAggregationStrategy.TimeoutAwareMixin timeoutMixin) Plugs in logic to execute when a timeout occurs.