THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
JavaScript
Camel supports JavaScript/ECMAScript among other Scripting Languages to allow an Expression or Predicate to be used in the DSL or Xml Configuration.
To use a JavaScript expression use the following Java code
Code Block |
---|
import static org.apache.camel.builder.script.ScriptBuilder.*;
...
... javaScript("someJavaScriptExpression") ...
|
For example you could use the javaScript function to create an Predicate in a Message Filter or as an [Expression for a Recipient ListCreated by James Strachan
On Mon Apr 16 19:46:17 BST 2007
Using TimTam