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 2021/12/15 13:19:40 UTC

[camel-spring-boot] branch main updated: CAMEL-17323: camel-main - Add option to turn on debug

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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new f897487  CAMEL-17323: camel-main - Add option to turn on debug
f897487 is described below

commit f8974874e59e1c6e1b9f6e0690ed34e4514f70fc
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Dec 15 14:18:54 2021 +0100

    CAMEL-17323: camel-main - Add option to turn on debug
---
 core/camel-spring-boot/src/main/docs/spring-boot.json              | 7 +++++++
 .../org/apache/camel/spring/boot/CamelConfigurationProperties.java | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/core/camel-spring-boot/src/main/docs/spring-boot.json b/core/camel-spring-boot/src/main/docs/spring-boot.json
index a602406..e0997bc 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.json
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.json
@@ -537,6 +537,13 @@
       "defaultValue": 1000
     },
     {
+      "name": "camel.springboot.debugging",
+      "type": "java.lang.Boolean",
+      "description": "Sets whether debugging is enabled or not. Default is false.",
+      "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties",
+      "defaultValue": false
+    },
+    {
       "name": "camel.springboot.dump-routes",
       "type": "java.lang.Boolean",
       "description": "If dumping is enabled then Camel will during startup dump all loaded routes (incl rests and route templates) represented as XML DSL into the log. This is intended for trouble shooting or to assist during development. Sensitive information that may be configured in the route endpoints could potentially be included in the dump output and is therefore not recommended to be used for production usage. This requires to have camel-xml-jaxb on the classpath to be able to du [...]
diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
index 2898af9..23723b0 100644
--- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
+++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
@@ -329,6 +329,13 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties
     private boolean streamCachingStatisticsEnabled;
 
     /**
+     * Sets whether debugging is enabled or not.
+     *
+     * Default is false.
+     */
+    private boolean debugging;
+
+    /**
      * Sets whether backlog tracing is enabled or not.
      *
      * Default is false.