Versions Compared

Key

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

...

Camel will store a reference to the resource in the message header in the key org.apache.camel.velocity.resource. The Resource is an org.springframework.core.io.Resource object.

In Camel 1.4 headers set during the velocity evaluation is returned to the message and added as headers. Then its kinda possible to return values from Velocity to the Message. See this unit test TODO.

Velocity Context

Camel will provide exchange information in the Velocity context (just a Map). The Exchange is transfered as:

...