camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Apache >> Camel >> Missing Headers
Date Mon, 26 Mar 2012 17:35:53 GMT
On Mon, Mar 26, 2012 at 7:25 PM, sambardar <sanjay_ambardar@yahoo.com> wrote:
> The issue i found was that in one of the beans i modify the body of the
> message. After that the header is lost. But if i set back the header in the
> same bean where i modify the body, then header is propogated. I did
>
> e.getOut.setHeaders(e.getIn().getHeaders())
>
> it works after i do this
>

See this FAQ
http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html


> --
> View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Missing-Headers-tp5595800p5595918.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message