Details
-
Wish
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.10.4
-
None
-
Unknown
Description
see camel users mailinglist, thread "AggregationStrategy and wrong sequence order"
When an error occurs in the AggregationStrategy and an exception is thrown, the old aggregates stay in the aggregator for the correlation key. But sometimes the old aggregates shall be discarded, when one part is incorrect.
So I recommend to enable a flag 'discardOnFailure()' in the route like discardOnCompletionTimeout().