This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new d68e14e  Regen
d68e14e is described below

commit d68e14e250bd6cb52b1aecb5ca48a16f871d5ab9
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Jul 27 06:44:04 2020 +0200

    Regen
---
 .../org/apache/camel/catalog/docs/aggregate-eip.adoc    | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aggregate-eip.adoc
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aggregate-eip.adoc
index 630a9302..a2f1901 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aggregate-eip.adoc
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aggregate-eip.adoc
@@ -365,25 +365,24 @@ To configure this from XML DSL
 There is also JMX API on the aggregator which is available under the
 processors node in the Camel JMX tree.
 
-== Using GroupedExchanges
+== Using GroupedExchangeAggregationStrategy
 
 In the route below we group all the exchanges together using
-`groupExchanges()`:
+`GroupedExchangeAggregationStrategy`:
 
 [source,java]
 ----
 from("direct:start")
-    // aggregate all using same expression
-    .aggregate(constant(true))
+    // aggregate all using same expression and group the
+    // exchanges so we get one single exchange containing all
+    // the others
+    .aggregate(new GroupedExchangeAggregationStrategy()).constant(true)
     // wait for 0.5 seconds to aggregate
-    .completionTimeout(500L)
-    // group the exchanges so we get one single exchange containing all the 
others
-    .groupExchanges()
-    .to("mock:result");
+    .completionTimeout(500L).to("mock:result");
 ----
 
 As a result we have one outgoing `Exchange` being
-routed the `"mock:result"` endpoint. The exchange is a holder
+routed to the `"mock:result"` endpoint. The exchange is a holder
 containing all the incoming Exchanges.
 
 The output of the aggregator will then contain the exchanges grouped

Reply via email to