Scripting Languages ContextPage edited by Claus IbsenChanges (3)
Full ContentScriptContextThe JSR-223 scripting languages ScriptContext is pre configured with the following attributes all set at ENGINE_SCOPE:
See Scripting Languages for the list of languages with explicit DSL support. Additional arguments to ScriptingEngineAvailable as of Camel 2.8 You can provide additional arguments to the ScriptingEngine using a header on the Camel message with the key CamelScriptArguments. Using properties functionAvailable as of Camel 2.9 If you need to use the Properties component from a script to lookup property placeholders, then its a bit cumbersome to do so.
.setHeader("myHeader").groovy("context.resolvePropertyPlaceholders('{{' + request.headers.get('foo') + '}}')")
Stop watching space
|
Change email notification preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache Camel > Scripting Languages Con... Claus Ibsen (Confluence)
- [CONF] Apache Camel > Scripting Language... willem jiang (Confluence)
- [CONF] Apache Camel > Scripting Language... Babak Vahdat (Confluence)
