THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Python
Camel supports Python among other Scripting Languages to allow an Expression or Predicate to be used in the DSL or Xml Configuration.
To use a Python expression use the following Java code
Code Block |
---|
import static org.apache.camel.builder.script.ScriptBuilder.*; ... ... python("somePythonExpression") ... |
For example you could use the python function to create an Predicate in a Message Filter or as an Expression for a Recipient List