...
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="914217c9e16a9bfa-82fb5123-4b7f46e1-a6cbbeaf-fca5ea0b7deea59d7871ceab"><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="3537bff1a61c8622-0a77545b-4bef479d-acdd8e5e-8e6a7bcd4dcedf802b4bc6b9"><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="66c8a7fbf94b7538-d65eb1a9-44c644fe-ae7180ad-d961cd3b9eaee7cf84e35188"><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="5ca881eb834660fd-2a372230-4fd94674-9543b51b-a859f22297314ba7a05e428b"><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="f5eb9f57016c9f27-c5dce73b-448c4a18-87a6936f-2494df8dc2f3893c49b5d95b"><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="c19a53171ef4c828-6c9e73e8-4d6b4792-b7159a95-5b59866ec438950f3e14e211"><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="705db6ba5d11b005-536a24ad-4a7c427d-bc948a6d-a757cd0a64801f180697fb87"><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="78c8bf3ee7f7e2e0-067848fa-45ee4068-8ce0bb4d-6bbbed57ca6eaff14aaaa6f2"><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="9d42b7ba064bb369-404b08bc-404b4588-b431bc9d-de2045ae29a28f030f715ebd"><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="9934fbb077f19f9b-fbaa3ee2-4d1943f1-a7089185-2341cce4b7f644a610828a42"><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 | Camel 2.0. 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 | Camel 1.5. Date formatting using the | ||
bean:bean expression | Object | 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. | ||
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 escape a value, eg \$, to indicate a $ sign. |
And the following logical operators can be used to group expressions:
...