camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Route with doTry calling service does not have exchange.in=exchange.out does not work
Date Mon, 13 May 2013 16:08:30 GMT
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 <apatel@asg.bellsouth.net> 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

Mime
View raw message