...
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="37b5ccab8bdc3dad-2325be4b-4fc942be-90d28a8b-75cea7675959d97521f8ccfa"><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="81897eae9049f52e-ecefc5a6-4a234add-9db5ad50-0d10be2bef9da16540f5513f"><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="aa01daf6dc43ca3d-8deeb154-48fb4075-90ffb140-f29b23dadfeaedf07196c4bb"><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="7f09132d1ee8f2f8-5b5ceedc-4b484d1a-b6f0bc31-d4f5fbc9576865645d8e231b"><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="43e466f1244c949f-5a79e75c-4bd34b22-bfb7a87f-a431eadd61ba002dd7a9907b"><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="ccee6a4fe646144c-a042a53f-4ee94056-9fab9e94-35d73fb912e31a7e7de0f297"><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="390d296bfd817e68-1fce7363-46954a5d-a317a60a-6f42d57dc0790d0e14e3f815"><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="b4e7c72ea357651a-ce64818c-4ace4967-bdcda253-2366c381be2036590571f86a"><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="2e03c4912199b1c0-5162637c-45f44a32-b9599613-661332d557c96a65bb866862"><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="76e15877b534c26d-551c9a70-43b54d99-b5e09605-4e5868e71c20760c5be2fd16"><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 return character. |
And the following logical operators can be used to group expressions:
...