This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-3.20.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.20.x by this push: new 80b94ed0870 Outdated reference to CompletionAwareAggregationStrategy removed from aggregate-eip.adoc 80b94ed0870 is described below commit 80b94ed087063859198eeaeabe52e9416f2d0643 Author: petradamek <petr.ada...@bilysklep.cz> AuthorDate: Wed Feb 22 12:42:34 2023 +0100 Outdated reference to CompletionAwareAggregationStrategy removed from aggregate-eip.adoc Chapter CompletionAwareAggregationStrategy is not up-to-date, because CompletionAwareAggregationStrategy interface was removed in Camel 3.x and onCompletion method is now part of AggregationStrategy interface. See commit e441457951b7d7cb6ede65a62fd8460a6485e322. --- .../src/main/docs/modules/eips/pages/aggregate-eip.adoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/aggregate-eip.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/aggregate-eip.adoc index 070b6d5839e..055a8db6dac 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/aggregate-eip.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/aggregate-eip.adoc @@ -290,10 +290,9 @@ completions * any other completion are not used (such as by size, from batch consumer etc) * _eagerCheckCompletion_ is implied as `true`, but the option has no effect -=== CompletionAwareAggregationStrategy +=== onCompletion -If your aggregation strategy implements -`CompletionAwareAggregationStrategy`, then Camel will invoke the +Camel will invoke the `onComplete` method when the aggregated `Exchange` is completed. This allows you to do any last minute custom logic such as to clean up some resources, or additional work on the exchange as it's now completed.