camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bilgin Ibryam <bibr...@gmail.com>
Subject Re: Set header from velocity template
Date Tue, 15 Apr 2014 15:45:33 GMT
Have you read the documentation and tried the example?

$in.setHeader('fruit', 'orange')

http://camel.apache.org/velocity.html





On 15 April 2014 15:52, dunnlow <dunnlow@yahoo.com> wrote:

> I currently use velocity to set the message body.  Now, I would like to use
> it to set a _header_.  I haven't found any example of this.  Obviously I
> could write a processor/bean.  Is there a better way?  Thanks. -J
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Set-header-from-velocity-template-tp5750248.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Bilgin Ibryam

Apache Camel & Apache OFBiz committer
Blog: ofbizian.com
Twitter: @bibryam <https://twitter.com/bibryam>

Author of Instant Apache Camel Message Routing
http://www.amazon.com/dp/1783283475

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message