Hi

See this FAQ
http://camel.apache.org/why-do-my-message-lose-its-headers-during-routing.html

Also try upgrading Camel version as it may be fixed.

And as we say on this page asking for help/support. There is some tips.
http://camel.apache.org/support



On Tue, Sep 25, 2012 at 5:39 PM, ritesh <kumbhkar.rit...@gmail.com> wrote:
> I have written a camel route which has following workflow
>
> <route>
> ....
> ....
> <inOnly uri="log:before-process-custom?showAll=true" />
> <to uri="direct:process-custom" />
> <inOnly uri="log:process-custom-completed?showAll=true" />
> <to uri="direct:process-core" />
> <inOnly uri="log:process-custom-completed?showAll=true" />
> ....
> ....
> </route>
>
> In above case, when a String Message body is passed to route then all
> headers are set correctly while logging with message
> 'before-process-custom'.
> Now message is passed to URI process-custom which internally uses dynamic
> route.
> When I check for logging with message 'process-custom-completed' then it
> shows 'headers : {}'.
> So, my observation is that headers are reset during processing at endpoint
> 'process-custom'.
>
>
> Actually, I want to pass same message to both the direct URI but
> discrepancies arisen due to problem mentioned above.
> Can anyone help on this?
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Headers-reset-after-dynamic-route-processing-tp5719959.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to