Take a look at ExchangeHelper, http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/util/ExchangeHelper.html. It has a couple of copy-methods.
On Thu, Jan 9, 2014 at 10:25 AM, duncanto <[email protected]> wrote: > > In Camel, how do you make a copy of an message exchange to be used in a > route block or a sub-route. > > I want to have a a local copy of the Exchange in the block / sub-route in a > synchronous flow whereby changes/removes to the headers and message body > are > made, but do not affect the message exchange in the parent outer > flow/block. > > Is this possible .. Tom > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-make-a-copy-an-Exchange-in-a-Route-segment-tp5745772.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
