This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 843bfc21d62075c3e01a43de42f20eba7bb7848e Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Thu Jun 22 16:06:16 2023 +0200 (chores) camel-core-processor: use log markers in the RoutingSlip --- .../src/main/java/org/apache/camel/processor/RoutingSlip.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/camel-core-processor/src/main/java/org/apache/camel/processor/RoutingSlip.java b/core/camel-core-processor/src/main/java/org/apache/camel/processor/RoutingSlip.java index 1563a813c20..954c363f753 100644 --- a/core/camel-core-processor/src/main/java/org/apache/camel/processor/RoutingSlip.java +++ b/core/camel-core-processor/src/main/java/org/apache/camel/processor/RoutingSlip.java @@ -288,7 +288,7 @@ public class RoutingSlip extends AsyncProcessorSupport implements Traceable, IdA FailedToCreateProducerException e = current.getException(FailedToCreateProducerException.class); if (e != null) { if (LOG.isDebugEnabled()) { - LOG.debug("Endpoint uri is invalid: " + endpoint + ". This exception will be ignored.", e); + LOG.debug("Endpoint uri is invalid: {}. This exception will be ignored.", endpoint, e); } current.setException(null); } @@ -364,7 +364,7 @@ public class RoutingSlip extends AsyncProcessorSupport implements Traceable, IdA : ExchangeHelper.resolveEndpoint(exchange, recipient); } catch (Exception e) { if (isIgnoreInvalidEndpoints()) { - LOG.debug("Endpoint uri is invalid: " + recipient + ". This exception will be ignored.", e); + LOG.debug("Endpoint uri is invalid: {}. This exception will be ignored.", recipient, e); } else { throw e; } @@ -461,7 +461,7 @@ public class RoutingSlip extends AsyncProcessorSupport implements Traceable, IdA FailedToCreateProducerException e = current.getException(FailedToCreateProducerException.class); if (e != null) { if (LOG.isDebugEnabled()) { - LOG.debug("Endpoint uri is invalid: " + endpoint + ". This exception will be ignored.", + LOG.debug("Endpoint uri is invalid: {}. This exception will be ignored.", endpoint, e); } current.setException(null);
