Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC06010423 for ; Mon, 18 Nov 2013 08:08:48 +0000 (UTC) Received: (qmail 20152 invoked by uid 500); 18 Nov 2013 08:08:47 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 20129 invoked by uid 500); 18 Nov 2013 08:08:46 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 9575 invoked by uid 99); 15 Nov 2013 15:14:50 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of neeraj.mahajan@specsavers.com does not designate 216.139.236.26 as permitted sender) Date: Fri, 15 Nov 2013 07:14:25 -0800 (PST) From: Neeraj Mahajan To: users@camel.apache.org Message-ID: <1384528465334-5743356.post@n5.nabble.com> Subject: Message headers getting lost while using NMR MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.