Versions Compared

Key

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

...

The velocity component sets a couple headers on the message (you can't set these yourself and from Camel 2.1, velocity component will not set these headers which will cause some side effect on the dynamic template support):

Header

Description

org.apache.camel.velocity.resource

Camel 1.x: The resource as an org.springframework.core.io.Resource object.

org.apache.camel.velocity.resourceUri

Camel 1.x: The templateName as a String object.

CamelVelocityResource

Camel 2.0: The resource as an org.springframework.core.io.Resource object.

CamelVelocityResourceUri

Camel 2.0: The templateName as a String object.

...