Thanks for quick response.

We had something like this and it worked correctly:

                        newExchange = template.send("direct:...", new
Processor() { 
                            public void process(Exchange ex) throws
Exception {
                                ex.copyFrom(exchange);
                            }
                        });

Now, because of copyFrom() is removed, I wanted to use this code but it
didn't work as expected:

                        newExchange = template.send("direct:...", new
Processor() { 
                            public void process(Exchange ex) throws
Exception {
                                ExchangeHelper.copyResults(ex, exchange);
                            }
                        });

Am I using something incorrectly?

With ex.setPattern(ExchangePattern.InOut); my routes work as expected.

Thanks,
Marek




--
View this message in context: 
http://camel.465427.n5.nabble.com/ExchangeHelper-copyResults-doesn-t-copy-exchange-pattern-tp5727506p5727514.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to