1. Proxies and Flow

for

Iterates over a collection extracted from the {@code Exchange} and applies its nested interceptors for each element. The current element is exposed in the exchange under the property key {@code "it"}. Example configuration:
{@code
 <for in="message.headers['items']" language="jsonpath">
   
 </for>
 }

Can be used in:

serviceProxy, api, global, chainDef, for, choose, stompProxy, if, registration, wsStompReassembler, internal, interceptor, chain, bean, transport and soapProxy

Attributes

NameRequiredDefaultDescriptionExample
in true - - -
language false groovy
the language of the 'test' condition
SpEL, groovy, jsonpath, xpath

Child Elements

ElementsDescriptionCardinality
echo 0..*
abort 0..*
request 0..*
response 0..*

Other optional Child Elements

flowInitiator, urlNormalizer, basicAuthentication, analyser, accessControl, idempotency, greaser, APIsJSON, interceptor, cors, stompClient, openTelemetry, accountRegistration, adminConsole, static, soap2Rest, http2xml, accessLog, logContext, dispatching, graphQLProtection, replace, destination, wadlRewriter, tcp, userFeature, openapiPublisher, call, internalRouting, xmlProtection, openapiValidator, xmlContentFilter, transform, testService, wsdlPublisher, template, groovy, login, regExReplacer, tokenValidator, oauth2authserver, requireAuth, for, ruleMatching, rest2Soap, prometheus, javascript, choose, statisticsJDBC, httpClient, statisticsProvider, authHead2Body, return, oauth2Resource2, adminApi, validator, jsonProtection, clusterNotification, groovyTemplate, apiDocs, webServer, paddingHeader, soapBody, cache, json2Xml, limit, setProperty, webServiceExplorer, soapOperationExtractor, global, webSocket, if, shadowing, log, xml2Json, setHeader, counter, methodOverride, oauth2PermissionChecker, xenAuthentication, chain, clamav, headerFilter, sampleSoapService, index, jwtAuth, balancer, apiKey, soapStackTraceFilter, shutdown, jwtSign, acmeHttpChallenge, reverseProxying, statisticsCSV, kubernetesValidation, wsdlRewriter, formValidation, beautifier, throttle, rateLimiter, exchangeStore, rewriter, ntlm