2008/6/17 Stephen J <[EMAIL PROTECTED]>:
>
> none of the below work:
> #set( $in.headers.fruit = 'apple' )
> #set( $headers.fruit = 'apple' )
> $in.headers.fruit = 'apple'
> $headers.fruit = 'apple'

I'm not sure if the velocity pseudo-bean properties stuff works with
the Camel Exchange / Message interfaces.

Does this work?

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

Maybe we could write a custom Velocity class to help its introspection
stuff work with Exchange/Message interfaces? (Have never tried - not
even sure its possible)

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to