Versions Compared

Key

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

...

The stringtemplate resource is by default hot reloadable for both file and classpath resources (expanded jar). Setting the contentCache=true then Camel will only load the resource once, and thus hot reloading is not possible. This scenario can be used in production usage when the resource never changes.

StringTemplate

...

Attributes

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

...

Code Block
Dear $headers.lastName$, $headers.firstName$
$body$

Thanks for the order of $headers.item$.

Regards Camel Riders Bookstore

...