You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/04/17 12:52:37 UTC

[camel] 02/03: (chores) camel-jms: fixed usage of log markers

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 523e36dc6841d18ba2e4a35ecd8a2705200b9c63
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Apr 17 12:42:08 2023 +0200

    (chores) camel-jms: fixed usage of log markers
---
 .../apache/camel/component/jms/reply/TemporaryQueueReplyManager.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-jms/src/main/java/org/apache/camel/component/jms/reply/TemporaryQueueReplyManager.java b/components/camel-jms/src/main/java/org/apache/camel/component/jms/reply/TemporaryQueueReplyManager.java
index bd9b4cc6706..ec1e0a61178 100644
--- a/components/camel-jms/src/main/java/org/apache/camel/component/jms/reply/TemporaryQueueReplyManager.java
+++ b/components/camel-jms/src/main/java/org/apache/camel/component/jms/reply/TemporaryQueueReplyManager.java
@@ -53,8 +53,8 @@ public class TemporaryQueueReplyManager extends ReplyManagerSupport {
         try {
             destResolver.destinationReady();
         } catch (InterruptedException e) {
-            log.warn("Interrupted while waiting for JMSReplyTo destination refresh due to: " + e.getMessage()
-                     + ". This exception is ignored.");
+            log.warn("Interrupted while waiting for JMSReplyTo destination refresh due to: {}. This exception is ignored.",
+                    e.getMessage());
         }
         return super.getReplyTo();
     }