Variable | Type | Description |
---|
camelId | String | Camel 2.10: the CamelContext name |
camelContext.OGNL | Object | Camel 2.11: the CamelContext invoked using a Camel OGNL expression. |
exchange | Exchange | Camel 2.16: the Exchange |
exchange.OGNL | Object | Camel 2.16: the Exchange invoked using a Camel OGNL expression. |
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. |
bodyAs(type).OGNL | Object | Camel 2.18: Converts the body to the given type determined by its classname and then invoke methods using a Camel OGNL expression. 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. |
mandatoryBodyAs(type).OGNL | Object | Camel 2.18: Converts the body to the given type determined by its classname and then invoke methods using a Camel OGNL expression. |
out.body | Object | the output body |
header.foo | Object | refer to the input foo header |
header[foo] | Object | Camel 2.9.2: refer to the input foo header |
headers.foo | Object | refer to the input foo header |
headers[foo] | Object | Camel 2.9.2: refer to the input foo header |
in.header.foo | Object | refer to the input foo header |
in.header[foo] | Object | Camel 2.9.2: refer to the input foo header |
in.headers.foo | Object | refer to the input foo header |
in.headers[foo] | Object | Camel 2.9.2: refer to the input foo header |
header.foo[bar] | Object | Camel 2.3: regard input foo header as a map and perform lookup on the map with bar as key |
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 |
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 |
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 |
out.header[foo] | Object | Camel 2.9.2: refer to the out header foo |
out.headers.foo | Object | refer to the out header foo |
out.headers[foo] | Object | Camel 2.9.2: refer to the out header foo |
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 | Deprecated: refer to the foo property on the exchange |
exchangeProperty.foo | Object | Camel 2.15: refer to the foo property on the exchange |
property[foo] | Object | Deprecated: refer to the foo property on the exchange |
exchangeProperty[foo] | Object | Camel 2.15: refer to the foo property on the exchange |
property.foo.OGNL | Object | Deprecated: refer to the foo property on the exchange and invoke its value using a Camel OGNL expression. |
exchangeProperty.foo.OGNL | Object | Camel 2.15: 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 (Exchange.EXCEPTION_CAUGHT ) if the Exchange has any. |
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 (Exchange.EXCEPTION_CAUGHT ) if the Exchange has any. |
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 (Exchange.EXCEPTION_CAUGHT ) if the Exchange has any. |
date:command:pattern | String | Date formatting using the java.text.SimpleDataFormat patterns. Supported commands are: now for current timestamp, in.header.xxx or header.xxx to use the Date object in the IN header with the key xxx. out.header.xxx to use the Date object in the OUT header with the key xxx. |
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 | Deprecated (use properties-location instead) Camel 2.3: Lookup a property with the given key. The locations option is optional. See more at Using PropertyPlaceholder. |
properties-location:locations:key | String | Camel 2.14.1: Lookup a property with the given key. The locations option is optional. See more at Using PropertyPlaceholder. |
properties:key:default | String | Camel 2.14.1: Lookup a property with the given key. If the key does not exists or has no value, then an optional default value can be specified. |
routeId | String | Camel 2.11: Returns the id of the current route the Exchange is being routed. |
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. |
type:name.field | Object | Camel 2.11: To refer to a type or field by its FQN name. To refer to a field you can append .FIELD_NAME. For example you can refer to the constant field from Exchange as: org.apache.camel.Exchange.FILE_NAME | . |
null | null | Camel 2.12.3: represents a null |
random(value) | Integer | Camel 2.16.0: returns a random Integer between 0 (included) and value (excluded) |
random(min,max) | Integer | Camel 2.16.0: returns a random Integer between min (included) and max (excluded) |
collate(group) | List | Camel 2.17: The collate function iterates the message body and groups the data into sub lists of specified size. This can be used with the Splitter EIP to split a message body and group/batch the splitted sub message into a group of N sub lists. This method works similar to the collate method in Groovy. |
messageHistory | String | Camel 2.17: The message history of the current exchange how it has been routed. This is similar to the route stack-trace message history the error handler logs in case of an unhandled exception. |
messageHistory(false) | String | Camel 2.17: As messageHistory but without the exchange details (only includes the route strack-trace). This can be used if you do not want to log sensitive data from the message itself. |