Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expression

Type

Description

exchange

Exchange

the Exchange object

exception

Thorwable

the Exchange exception (if any)

exchangeId

String

the exchange Id

fault

Message

the Fault message (if any)

request

Message

the exchange.in message

in

Message

the exchange.in message

out

Message

the exchange.out message (if any)

response

Message

the exchange.out message (if any)

properties

Map

the exchange properties

property(name)

Object

the property by the given name

property(name, type)

Type

the property by the given name as the given type

You can use OGNL dot notation to invoke operations. If you for instance have a body that contains a POJO that has a getFamiliyName method then you can construct the syntax as follows:

Code Block
"inrequest.body.familyName"
   // or 
"ingetRequest().getBody().getFamilyName()"