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 4A011FE7C for ; Mon, 13 May 2013 17:25:13 +0000 (UTC) Received: (qmail 56160 invoked by uid 500); 13 May 2013 16:23:12 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 56122 invoked by uid 500); 13 May 2013 16:23:12 -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 Received: (qmail 56114 invoked by uid 99); 13 May 2013 16:23:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 16:23:12 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.223.179 as permitted sender) Received: from [209.85.223.179] (HELO mail-ie0-f179.google.com) (209.85.223.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 16:23:09 +0000 Received: by mail-ie0-f179.google.com with SMTP id c13so12903101ieb.10 for ; Mon, 13 May 2013 09:22:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=ZOLmGBe9JGJ9ceBfuuKNChAGMWRiheeeha3vRRTi5b8=; b=CWHmZcMtc0e4O4WzWe1XYC7PE8l+OidQjWdqdBn5MfUrZZ5cRMhK0vrDR49WZO5Mc0 Z95gwlU/cSRgcm11NgeIhwSlqaej+U0PwCpNNqH5KqKdIJz6N9LaYHHokoewsrw81dzY atxMVKes2YNJDghqox1NouhjitA8qw/z0Lc99AdhSm3oGodzi354zvoYeULvTboVp/bh 4soD+aTaOR1c5kbiFoIqwRUgKJEaOwbfi/PKi7E5jIIxVKMGXSnTcu3L0fvI2U3TgpBl O0ed9/X6vnmD7UW1KWC7ACOa5kPdjaGmlnIN4cBJOvhbSD5NpEDtIzz961NJsbcageyD BjZQ== X-Received: by 10.50.45.230 with SMTP id q6mr10631558igm.39.1368462168606; Mon, 13 May 2013 09:22:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.20.200 with HTTP; Mon, 13 May 2013 09:22:28 -0700 (PDT) In-Reply-To: References: <1368197549822-5732293.post@n5.nabble.com> <1368451540823-5732404.post@n5.nabble.com> From: Claus Ibsen Date: Mon, 13 May 2013 18:22:28 +0200 Message-ID: Subject: Re: Route with doTry calling service does not have exchange.in=exchange.out does not work To: "users@camel.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi I found the source of the problem and logged a ticket to fix/improve this https://issues.apache.org/jira/browse/CAMEL-6357 On Mon, May 13, 2013 at 6:08 PM, Claus Ibsen wrote: > Hi > > Okay found the problem. > > When you copy the headers from IN to OUT in your custom code, you > should do like this > > exchange.getOut().getHeaders().putAll(headers); > > On Mon, May 13, 2013 at 3:25 PM, apatel wrote: >> Claus, >> >> I am wondering why responses are difference when i use try-catch and when i >> remove the try-catch? >> >> >> Thanks, >> Amit Patel >> >> >> >> -- >> View this message in context: http://camel.465427.n5.nabble.com/Route-with-doTry-calling-service-does-not-have-exchange-in-exchange-out-does-not-work-tp5732293p5732404.html >> Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > ----------------- > www.camelone.org: The open source integration conference. > > Red Hat, Inc. > FuseSource is now part of Red Hat > Email: cibsen@redhat.com > Web: http://fusesource.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen -- Claus Ibsen ----------------- www.camelone.org: The open source integration conference. Red Hat, Inc. FuseSource is now part of Red Hat Email: cibsen@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen