This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-3.7.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.7.x by this push: new 78e274e https://issues.apache.org/jira/browse/CAMEL-16807 : Fixed a problem with KafkaConfiguration:copy() 78e274e is described below commit 78e274e9698977d276cadc63963a6acc99529835 Author: Eric Wittmann <eric.wittm...@gmail.com> AuthorDate: Thu Jul 15 08:17:07 2021 -0400 https://issues.apache.org/jira/browse/CAMEL-16807 : Fixed a problem with KafkaConfiguration:copy() --- .../main/java/org/apache/camel/component/kafka/KafkaConfiguration.java | 1 + 1 file changed, 1 insertion(+) diff --git a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java index 4c63cf2..75bfac3 100644 --- a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java +++ b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java @@ -332,6 +332,7 @@ public class KafkaConfiguration implements Cloneable, HeaderFilterStrategyAware public KafkaConfiguration copy() { try { KafkaConfiguration copy = (KafkaConfiguration) clone(); + copy.additionalProperties = new HashMap<>(this.additionalProperties); return copy; } catch (CloneNotSupportedException e) { throw new RuntimeCamelException(e);