You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

ServiceMix as a ScriptComponent which allows you to easily script In or InOut message exchanges using any JSR 223 compliant scripting engine such as Groovy, JavaScript, Jython etc.

You can provide a custom component by deriving from this component, or just deploy it and configure the script language name along with the script.

Variables available

While inside the script you have a access to the JBI scopes as follows.

Variable

context

messageExchange

in

out

fault

deliveryChannel

  • No labels