Iterates over a collection and runs its nested flow once per element. The in expression is evaluated against the exchange and must yield a List; for each item the nested plugins run with the current item exposed as the exchange property it. Iteration happens only in the request flow and only when the expression yields a list; any other value passes through unchanged. If the expression fails to evaluate, the exchange is aborted with a Problem Details response. See the examples and tutorials under examples/orchestration and tutorials/orchestration.
for:
in: expression # must evaluate to a List
[ language: SpEL | groovy | jsonpath | xpath ] # default: SpEL
flow: # runs once per item; current item in property "it"
- ...