Python has been edited by willem jiang (Jul 08, 2008).

Change summary:

Remove the discription of getting result of python scripe

(View changes)

Content:

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

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

Reply via email to