On Mon, Mar 26, 2012 at 7:25 PM, sambardar <sanjay_ambar...@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: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to