...
You can have multiple tokens in the same expression: "Hello ${in.header.name} this is ${in.header.me} speaking"
.
However you can not nest tokens (i.e. having another ${ } placeholder in an existing, is not allowed).
Variables
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 |
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. |
...