You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/04/14 17:37:30 UTC

[GitHub] [camel] davsclaus commented on a change in pull request #5370: Feature/fixing zipkin spans

davsclaus commented on a change in pull request #5370:
URL: https://github.com/apache/camel/pull/5370#discussion_r613446544



##########
File path: core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java
##########
@@ -189,7 +189,15 @@ public Exchange copy() {
 
     @SuppressWarnings("unchecked")
     private void safeCopyProperties(Map<String, Object> source, Map<String, Object> target) {
-        target.putAll(source);
+        source.entrySet().stream().forEach(entry -> {

Review comment:
       Sorry we do not want this kind in the core. Can you maybe try to come up with a different solution.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org