This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit c046585dd3a649fc57b7138f8eb8eebb184f018c Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Oct 15 07:09:52 2021 +0200 CAMEL-16861: Cleanup and update EIP docs --- .../main/docs/modules/eips/pages/scatter-gather.adoc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/scatter-gather.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/scatter-gather.adoc index ae1214f..aa63dfa 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/scatter-gather.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/scatter-gather.adoc @@ -16,7 +16,27 @@ use the more powerful xref:aggregate-eip.adoc[Aggregate] EIP for aggregation. == Using only Recipient List +In the following example we want to call two HTTP services and gather their responses into a single message. + +[source,xml] +---- +<routes> + + <route> + <from uri="direct:start"/> + <recipientList strategyRef="cheeseAggregator"> + <constant>http:server1,http:server2</header> + </recipientList> + <to uri="mock:result"/> + </route> + +</routes> +---- + +The example is kept basic, + TODO: Simple example +TODO: sync vs async messaging == Using both Recipient List and Aggregator EIP