You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/07/28 15:06:52 UTC
[camel] branch mask updated: CAMEL-19676: camel-core: Do not log sensitive endpoint uri, if route failed to be created.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch mask
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/mask by this push:
new 03a849c6fff CAMEL-19676: camel-core: Do not log sensitive endpoint uri, if route failed to be created.
03a849c6fff is described below
commit 03a849c6fff2bb8a49a7a7cd771f6f64bdbf512c
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Jul 28 17:00:18 2023 +0200
CAMEL-19676: camel-core: Do not log sensitive endpoint uri, if route failed to be created.
---
.../src/main/java/org/apache/camel/model/SendDefinition.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/SendDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/SendDefinition.java
index 6402b950f63..21392205b79 100644
--- a/core/camel-core-model/src/main/java/org/apache/camel/model/SendDefinition.java
+++ b/core/camel-core-model/src/main/java/org/apache/camel/model/SendDefinition.java
@@ -34,7 +34,7 @@ public abstract class SendDefinition<Type extends ProcessorDefinition<Type>> ext
implements EndpointRequiredDefinition {
@XmlTransient
- private transient String endpointUriToString;
+ private String endpointUriToString;
@XmlTransient
protected Endpoint endpoint;
@XmlTransient
@@ -125,6 +125,7 @@ public abstract class SendDefinition<Type extends ProcessorDefinition<Type>> ext
}
protected void clear() {
+ this.endpointUriToString = null;
this.endpointProducerBuilder = null;
this.endpoint = null;
this.uri = null;