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.