This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.8.x by this push:
new d64aeabd953 CAMEL-21727: documentation - Add note in docs to not use
crazy high loop counter
d64aeabd953 is described below
commit d64aeabd9534d11b187800e71fdab5d335d9f77b
Author: Claus Ibsen <[email protected]>
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,