THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
... beanShell("someBeanShellExpression") ... |
Or the something like this in your Spring XML:
Code Block | ||||
---|---|---|---|---|
| ||||
<filter>
<language language="beanshell">someBeanShellExpression</language>
...
|
Note | ||
---|---|---|
| ||
You must use BeanShell 2.0b5 or greater. Note that as of 2.0b5 BeanShell cannot compile scripts, which causes most releases of Camel to fail when configured with BeanShell expressions. |
For example you could use the beanShell function to create an Predicate in a Message Filter or as an Expression for a Recipient List
...