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. And the key org.apache.camel.velocity.resourceUri holds the templateName as a String 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.

...