...
Variable | Type | Description |
---|---|---|
id | String | the input message id |
body | Object | the input body |
in.body | Object | the input body |
out.body | Object | the output body |
header.foo | Object | refer to the input foo header |
headers.foo | Object | refer to the input foo header |
in.header.foo | Object | refer to the input foo header |
in.headers.foo | Object | refer to the input foo header |
out.header.foo | Object | refer to the out header foo |
out.headers.foo | Object | refer to the out header foo |
property.foo | Object | refer to the foo property on the exchange |
sys.foo | String | refer to the system property |
exception.message | String | New in Camel 2.0. Refer to the exception.messsage message on the exchange, is null if no exception set on exchange. Will fallback and grab caught exceptions ( |
date:command:pattern | String | New in Camel 1.5. Date formatting using the |
bean:bean expression | Object | New in Camel 1.5. Invoking a bean expression using the Bean language. Specifying a method name you must use dot as separator. In Camel 2.0 we also support the ?method=methodname syntax that is used by the Bean component. |
Operator support
Avaiable Available as of Camel 2.0
We added a basic set of operators supported in the simple language in Camel 2.0. The parser is limited to only support a single operator.
...
Operator | Description |
---|---|
== | equals |
> | greather greater than |
>= | greather greater than or equals |
< | less than |
<= | less than or equals |
!= | not equals |
contains | For testing if contains in a string based value |
not contains | For testinf testing if not contains in a string based value |
regex | For matching against a given regular expression pattern defined as a String value |
not regex | For not matching against a given regular expression pattern defined as a String value |
in | For matching if in a set of values, each element must be separated by comma. |
not in | For matching if not in a set of values, each element must be separated by comma. |
is | For matching if the left hand side type is an instanceof the value. |
not is | For matching if the left hand side type is not an instanceof the value. |
range | For matching if the left hand side is within a range of values defined as numbers: |
not range | For matching if the left hand side is not within a range of values defined as numbers: |
...