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/08/23 07:36:22 UTC

[camel] 04/06: CAMEL-19772: camel-core - Dump routes to include custom beans

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel19772
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 3e46b08af942f53ed3225eeaccfc9de0f83c9f2e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Aug 23 06:58:42 2023 +0200

    CAMEL-19772: camel-core - Dump routes to include custom beans
---
 .../src/main/java/org/apache/camel/impl/DefaultDumpRoutesStrategy.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/camel-core-engine/src/main/java/org/apache/camel/impl/DefaultDumpRoutesStrategy.java b/core/camel-core-engine/src/main/java/org/apache/camel/impl/DefaultDumpRoutesStrategy.java
index 34c83298201..0edff3b4690 100644
--- a/core/camel-core-engine/src/main/java/org/apache/camel/impl/DefaultDumpRoutesStrategy.java
+++ b/core/camel-core-engine/src/main/java/org/apache/camel/impl/DefaultDumpRoutesStrategy.java
@@ -558,7 +558,8 @@ public class DefaultDumpRoutesStrategy extends ServiceSupport implements DumpRou
                     sb.append("\n</camel>\n");
                     IOHelper.writeText(sb.toString(), file);
                 } catch (Exception e) {
-                    LOG.warn("Error adjusting dumped XML file: {} due to {}. This exception is ignored.", name, e.getMessage(), e);
+                    LOG.warn("Error adjusting dumped XML file: {} due to {}. This exception is ignored.", name, e.getMessage(),
+                            e);
                 }
             }
         }