|
Python has been edited by willem jiang (Jul 04, 2008). Change summary: Added the discription of how to get the result from Python script PythonCamel supports Python To use a Python _expression_ use the following Java code 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 Since you can't get the python _expression_ script evaluation result from the script engine, you need to add a prefix " result = " before your _expression_. |
Unsubscribe or edit your notifications preferences
