...
Variable | Type | Description | ||
---|---|---|---|---|
camelId | String | Camel 2.10: the CamelContext name | ||
exchangeId | String | Camel 2.3: the exchange id | ||
id | String | the input message id | ||
body | Object | the input body | ||
in.body | Object | the input body | ||
body.OGNL | Object | Camel 2.3: the input body invoked using a Camel OGNL expression. | ||
in.body.OGNL | Object | Camel 2.3: the input body invoked using a Camel OGNL expression. | ||
bodyAs(type) | Type | Camel 2.3: Converts the body to the given type determined by its classname. The converted body can be null. | ||
mandatoryBodyAs(type) | Type | Camel 2.5: Converts the body to the given type determined by its classname, and expects the body to be not null. | ||
out.body | Object | the output body | ||
header.foo | Object | refer to the input foo header | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="333a68be26e3b652-2da1cf76-4a0049c2-958d80fb-71096406bb4c503df4df5364"><ac:plain-text-body><![CDATA[ | header[foo] | Object | Camel 2.9.2: refer to the input foo header | ]]></ac:plain-text-body></ac:structured-macro> |
headers.foo | Object | refer to the input foo header | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d05e3237debf3fed-755bd91f-439a4171-92b9976c-b5847a21963d654ddcedc61a"><ac:plain-text-body><![CDATA[ | headers[foo] | Object | Camel 2.9.2: refer to the input foo header | ]]></ac:plain-text-body></ac:structured-macro> |
in.header.foo | Object | refer to the input foo header | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a0dfb19b620302a3-6106467e-424b4c03-8f31952a-dab7b488384d57201b1b08cb"><ac:plain-text-body><![CDATA[ | in.header[foo] | Object | Camel 2.9.2: refer to the input foo header | ]]></ac:plain-text-body></ac:structured-macro> |
in.headers.foo | Object | refer to the input foo header | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9e3bf0accc6a047d-fd7a8051-49f0446c-9349b35a-3e286c01b23021093d977d46"><ac:plain-text-body><![CDATA[ | in.headers[foo] | Object | Camel 2.9.2: refer to the input foo header | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="94e958d6b2b321e7-72bd40b1-433f4536-9745b490-e3f54515107d802484079b9a"><ac:plain-text-body><![CDATA[ | header.foo[bar] | Object | Camel 2.3: regard input foo header as a map and perform lookup on the map with bar as key | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="6fe0cc4793375785-8569a7dc-422f4043-94469815-da161949a85d15b01c1e5ed1"><ac:plain-text-body><![CDATA[ | in.header.foo[bar] | Object | Camel 2.3: regard input foo header as a map and perform lookup on the map with bar as key | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="51d6e6239d841cfd-2a776354-4e4d4f2e-ac48bec2-b61ca179627c04a583d7abce"><ac:plain-text-body><![CDATA[ | in.headers.foo[bar] | Object | Camel 2.3: regard input foo header as a map and perform lookup on the map with bar as key | ]]></ac:plain-text-body></ac:structured-macro> |
header.foo.OGNL | Object | Camel 2.3: refer to the input foo header and invoke its value using a Camel OGNL expression. | ||
in.header.foo.OGNL | Object | Camel 2.3: refer to the input foo header and invoke its value using a Camel OGNL expression. | ||
in.headers.foo.OGNL | Object | Camel 2.3: refer to the input foo header and invoke its value using a Camel OGNL expression. | ||
out.header.foo | Object | refer to the out header foo | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8d3b79b30c0fab55-f8ca142e-435e41d0-bcc7a558-2a6154168a8ce3080b2fa425"><ac:plain-text-body><![CDATA[ | out.header[foo] | Object | Camel 2.9.2: refer to the out header foo | ]]></ac:plain-text-body></ac:structured-macro> |
out.headers.foo | Object | refer to the out header foo | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b9309251348d2e07-532b6711-4133407b-a420bfec-a37b93a209bfb63e1557850a"><ac:plain-text-body><![CDATA[ | out.headers[foo] | Object | Camel 2.9.2: refer to the out header foo | ]]></ac:plain-text-body></ac:structured-macro> |
headerAs(key,type) | Type | Camel 2.5: Converts the header to the given type determined by its classname | ||
headers | Map | Camel 2.9: refer to the input headers | ||
in.headers | Map | Camel 2.9: refer to the input headers | ||
property.foo | Object | refer to the foo property on the exchange | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="cc0e31787bd25b7d-0882b938-4ee44fb4-b2748529-e0bcb92beb83048b4bda5c8c"><ac:plain-text-body><![CDATA[ | property[foo] | Object | Camel 2.9.2: refer to the foo property on the exchange | ]]></ac:plain-text-body></ac:structured-macro> |
property.foo.OGNL | Object | Camel 2.8: refer to the foo property on the exchange and invoke its value using a Camel OGNL expression. | ||
sys.foo | String | refer to the system property | ||
sysenv.foo | String | Camel 2.3: refer to the system environment | ||
exception | Object | Camel 2.4: Refer to the exception object on the exchange, is null if no exception set on exchange. Will fallback and grab caught exceptions ( | ||
exception.OGNL | Object | Camel 2.4: Refer to the exchange exception invoked using a Camel OGNL expression object | ||
exception.message | String | Refer to the exception.message on the exchange, is null if no exception set on exchange. Will fallback and grab caught exceptions ( | ||
exception.stacktrace | String | Camel 2.6. Refer to the exception.stracktrace on the exchange, is null if no exception set on exchange. Will fallback and grab caught exceptions ( | ||
date:command:pattern | String | Date formatting using the | ||
bean:bean expression | Object | Invoking a bean expression using the Bean language. Specifying a method name you must use dot as separator. We also support the ?method=methodname syntax that is used by the Bean component. | ||
properties:locations:key | String | Camel 2.3: Lookup a property with the given key. The | ||
threadName | String | Camel 2.3: Returns the name of the current thread. Can be used for logging purpose. | ||
ref:xxx | Object | Camel 2.6: To lookup a bean from the Registry with the given id. |
...
Operator | Description |
---|---|
++ | Camel 2.9: To increment a number by one. |
-- | Camel 2.9: To decrement a number by one. |
\ | Camel 2.9.3 to 2.10.x To escape a value, eg \$, to indicate a $ sign. Special: Use \n for new line, \t for tab, and \r for carriage return. Notice: Escaping is not supported using the File Language. Notice: From Camel 2.11 onwards the escape character is no longer support, but replaced with the following three special escaping. |
\n | Camel 2.11: To use newline character. |
\t | Camel 2.11: To use tab character. |
\r | Camel 2.11: To use carrie carriage return character. |
And the following logical operators can be used to group expressions:
...