Hi Willem, 

I made my own ExpressionAdapter which is effectively a copy paste of
ExpressionBuilder.toExpression that accepts an additional boolean for
whether to (shallow) copy the exchange, i.e. Exchange toExchange =
replaceExchange ? exchange : exchange.copy();

I'll raise a JIRA/code sample it soon.

Cheers,
David



--
View this message in context: 
http://camel.465427.n5.nabble.com/Choice-sendTo-and-overwriting-exchange-body-tp5734867p5735120.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to