GitHub user davsclaus opened a pull request:
https://github.com/apache/camel/pull/2488
CAMEL-12741: The copy method on Message should by default set the excâ¦
â¦hange on the copied message to the same instance as from the source. If
the copied message is re-attached to another exchange it will reset the
exchange anyway.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/camel camel-12741
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2488.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2488
----
commit fe75c444740fe48361c93decfe10ec508d95d566
Author: Claus Ibsen <claus.ibsen@...>
Date: 2018-08-20T17:02:40Z
CAMEL-12741: The copy method on Message should by default set the exchange
on the copied message to the same instance as from the source. If the copied
message is re-attached to another exchange it will reset the exchange anyway.
----
---