Versions Compared

Key

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

Header Expression Language

TODO: DescriptionThe Header Expression Language allows you to extract values of named headers.

Available as of Camel 1.5

Example usage

The recipientList element of the Spring DSL can utilize a header expression like:

Code Block
languagexml

<route>
  <from uri="direct:a"/>
  <recipientList>
    <header>recipientListHeader</header>
  </recipientList>    
</route>

In this case, the list of recipients are contained in the header 'recipientListHeader'. TODO: A sample