Versions Compared

Key

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

...

Variable

Type

Description

Support version

exchange

Exchange

The current Exchange

 

in.body

Object

The In message's body

>= 1.6.1

out.body

Object

The OUT message's body (if any)

>= 1.6.1

in.headers.*

Object

You can access the value of exchange.in.headers with key foo by using the variable which name is in.headers.foo

>=1.6.1

out.headers.*

Object

You can access the value of exchange.out.headers with key foo by using the variable which name is out.headers.foo variable

>=1.6.1

key name

Object

Any exchange.properties and exchange.in.headers (exchange.in.headers support was removed since camel 1.6.1) and any additional parameters set using setParameters(Map). These parameters is added with they own key name, for instance if there is an IN header with the key name foo then its added as foo.

 

Using XML configuration

If you prefer to configure your routes in your Spring XML file then you can use XPath expressions as follows

...