This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-4.0.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.0.x by this push: new 0f8dcf7c609 CAMEL-20614: deep-copy output processors during instantiation of a route template 0f8dcf7c609 is described below commit 0f8dcf7c609632d9c987b108d586a3f2bcfc556c Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu Apr 18 21:00:16 2024 +0200 CAMEL-20614: deep-copy output processors during instantiation of a route template --- .../src/main/java/org/apache/camel/model/FromDefinition.java | 2 -- .../src/main/java/org/apache/camel/model/ToDynamicDefinition.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/FromDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/FromDefinition.java index d601930c216..f462d2f0074 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/FromDefinition.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/FromDefinition.java @@ -63,11 +63,9 @@ public class FromDefinition extends OptionalIdentifiedDefinition<FromDefinition> FromDefinition copy() { FromDefinition copy = new FromDefinition(); - copy.parent = this.parent; copy.endpoint = this.endpoint; copy.endpointConsumerBuilder = this.endpointConsumerBuilder; copy.uri = this.uri; - copy.variableReceive = this.variableReceive; copy.setCamelContext(this.getCamelContext()); copy.setId(this.getId()); copy.setCustomId(this.getCustomId()); diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/ToDynamicDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/ToDynamicDefinition.java index a53d0d76127..cb78a731343 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/ToDynamicDefinition.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/ToDynamicDefinition.java @@ -68,8 +68,6 @@ public class ToDynamicDefinition extends NoOutputDefinition<ToDynamicDefinition> super(source); this.endpointProducerBuilder = source.endpointProducerBuilder; this.uri = source.uri; - this.variableSend = source.variableSend; - this.variableReceive = source.variableReceive; this.pattern = source.pattern; this.cacheSize = source.cacheSize; this.ignoreInvalidEndpoint = source.ignoreInvalidEndpoint;