{@code <for in="message.headers['items']" language="jsonpath"> </for> }
Name | Required | Default | Description | Example |
---|---|---|---|---|
in | true | - | An expression that evaluates to a collection (e.g., a List). The interceptors nested within the element will be executed for each item in this collection. The current item is available in the exchange property named `it`.
|
`message.json.customers` (if language is the default "SpEL") or `/orders/order/ |
language | false | groovy |
the language of the 'test' condition
|
SpEL, groovy, jsonpath, xpath |
Elements | Description | Cardinality |
---|---|---|
request | 0..* | |
echo | 0..* | |
response | 0..* | |
abort | 0..* |