Reference: Loop Strategy Properties
Common Tab
Property | XML Attribute Name | Description |
|---|---|---|
Condition
| condition
| An MVEL expression that generates a Boolean value. The loop-strategy runs until the expression evaluates as false. |
Increment
| increment
| An increment value for every loop iteration. |
Init
| init
| The starting value of your loop. |
Repeat Limit
| repeat-limit
| The maximum number of loops implemented by the loop-strategy .
A route strategy can repeat up to 200,000 times in total. If the same strategy is called multiple times, the loop counter doesn't reset. It continues from the previous value. You can use a custom Java bean or a custom splitter to avoid this limit. |