LibraryToggle FramesPrintFeedback

The string-template: component allows you to process a message using a String Template. This can be ideal when using Templating to generate responses for requests.

Maven users will need to add the following dependency to their pom.xml for this component:

    <!-- use the same version as your Camel core version -->

Option Default Description
contentCache false New option in Fuse Mediation Router 1.4. Cache for the resource content when its loaded.

Fuse Mediation Router will provide exchange information as attributes (just a java.util.Map) to the string template. The Exchange is transfered as:

key value
exchange The Exchange itself.
headers The headers of the In message.
camelContext The Camel Context.
request The In message.
in The In message.
body The In message body.
out The Out message (only for InOut message exchange pattern).
response The Out message (only for InOut message exchange pattern).
Comments powered by Disqus