Wow !
Thanks Scott ! That just missed out my attention :)
It works now!
And along with that I also had go change ${exception} to
${exception.message}
Cheers brother!
Reji
On 21/11/2014 3:22 pm, "Scott Coleman" <[email protected]>
wrote:
> Have you tried without the space after the header name "CAMEL_EXCEPTION ".
>
> > On 21 Nov 2014, at 08:29, contactreji <[email protected]> wrote:
> >
> > Thanx Claus for the tip.
> >
> > But I was wondering why my setHeader is not able to popuate the value
> >
> > <setHeader headerName="CAMEL_EXCEPTION ">
> > <simple>${exception}</simple>
> > </setHeader>
> >
> >
> > This doesnt work :-(
> >
> > Reji
> >
> >
> >
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Exception-and-Velocity-Blank-Values-tp5759407p5759414.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>
>