You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Neeraj Mahajan <ne...@specsavers.com> on 2013/11/15 16:14:25 UTC
Message headers getting lost while using NMR
My Integration application is divided into two camel contexts. I am using NMR
to have integration between these two camel contexts. The flow is as follows
and I am using *INOnly* Message Exchange Pattern
1 CamelContext1-Route -> NMR -> CamelContext2-Route
2 CamelContext2-Route set some *new headers* in the input message
3 CamelContext2-Route returns the control back
4 CamelContext1-Route uses the header set by CamelContextx2-Route
The problem I am facing is that the headers get lost from the input message
when the control returns back to the CamelContext1-Route after step 3
completion. Can anyone suggest how this problem can be resolved.
--
View this message in context: http://camel.465427.n5.nabble.com/Message-headers-getting-lost-while-using-NMR-tp5743356.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Message headers getting lost while using NMR
Posted by bradnicolson <br...@gmail.com>.
HI Neeraj,
What header you are setting in you camel message? Header value must be a
Serializable object.
Cheers,
Brad
--
View this message in context: http://camel.465427.n5.nabble.com/Message-headers-getting-lost-while-using-NMR-tp5743356p5743416.html
Sent from the Camel - Users mailing list archive at Nabble.com.