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
The following commit(s) were added to refs/heads/main by this push: new 8c84fd05823 CAMEL-21727: documentation - Add note in docs to not use crazy high loop counter 8c84fd05823 is described below commit 8c84fd058237f5392c217d568acc4d2eab28d15f Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Feb 5 20:54:47 2025 +0100 CAMEL-21727: documentation - Add note in docs to not use crazy high loop counter --- core/camel-core-engine/src/main/docs/modules/eips/pages/loop-eip.adoc | 3 +++ 1 file changed, 3 insertions(+) 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 5253775b343..13075e0ccc0 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 @@ -32,6 +32,9 @@ So the result from the previous iteration will *not* be used for the next iterat In the while mode, then the Loop EIP will keep looping until the expression evaluates to `false` or `null`. +NOTE: The Loop EIP is not intended to be looping a very high number. So keep the number of loops to a reasonable +number such as 10000 or less. A very high number can degrade performance. + == Example The following example shows how to take a request from the `direct:x` endpoint,