Sorry, I should have given more detail.
I am using velocity to create web pages. My template is an html formatted
document (about 40 lines) that uses existing exchange headers. (This gets
turned into a web page downstream.)
In my (xml) route I have something like:
<to uri="velocity://tohtml.vm"/>
However, this puts my html template into the BODY. I need to keep the
current body intact (downstream routes depend on having the original
message) so I want to do this same evaluation, but put the new evaluated
template it into a HEADER.
Thanks again,
-J
--
View this message in context:
http://camel.465427.n5.nabble.com/Set-header-using-velocity-template-tp5750248p5750259.html
Sent from the Camel - Users mailing list archive at Nabble.com.