This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3878d31b14127d1a897159ac7dc8777d53f1752b Author: Otavio R. Piske <angusyo...@gmail.com> AuthorDate: Sun Feb 25 14:29:12 2024 +0100 CAMEL-20459: documentation fixes for the loop EIP. Signed-off-by: Otavio R. Piske <angusyo...@gmail.com> --- .../src/main/docs/modules/eips/pages/loop-eip.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/loop-eip.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/loop-eip.adoc index 24eba63a394..5253775b343 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/loop-eip.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/loop-eip.adoc @@ -109,7 +109,7 @@ from("direct:c") == Using copy mode Now suppose we send a message to direct:start endpoint containing the letter A. -The output of processing this route will be that, each mock:loop endpoint will receive AB as message. +The output of processing this route will be that, each mock:loop endpoint will receive AB as the message. [tabs] ==== @@ -146,13 +146,13 @@ XML:: ---- ==== -However, if we do *not* enable copy mode then mock:loop will receive "AB", "ABB", "ABBB", etc. messages. +However, if we do *not* enable copy mode, then mock:loop will receive `_"AB"_`, `_"ABB"_`, `_"ABBB"_`, etc. messages. == Looping using while The loop can act like a while loop that loops until the expression evaluates to `false` or `null`. -For example the route below loops while the length of the message body is 5 or fewer characters. +For example, the route below loops while the length of the message body is five or fewer characters. Notice that the DSL uses `loopDoWhile`. [tabs]