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/01/10 10:32:42 UTC

[camel-spring-boot] branch main updated: Add missing docs to tracingStandby

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 04293352cc5 Add missing docs to tracingStandby
04293352cc5 is described below

commit 04293352cc5fd2d0955731febfa20dc7cd502fba
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Jan 10 11:32:34 2023 +0100

    Add missing docs to tracingStandby
---
 core/camel-spring-boot/src/main/docs/spring-boot.json               | 4 +++-
 .../org/apache/camel/spring/boot/CamelConfigurationProperties.java  | 6 ++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

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 638c623b30c..92cd01c701b 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.json
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.json
@@ -1156,7 +1156,9 @@
     {
       "name": "camel.springboot.tracing-standby",
       "type": "java.lang.Boolean",
-      "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties"
+      "description": "Whether to set tracing on standby. If on standby then the tracer is installed and made available. Then the tracer can be enabled later at runtime via JMX or via Tracer.setEnabled(true).",
+      "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties",
+      "defaultValue": false
     },
     {
       "name": "camel.springboot.type-converter-statistics-enabled",
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 da48ce7faf5..3112fd14e42 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
@@ -394,6 +394,12 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties
      */
     private boolean tracing;
 
+    /**
+     * Whether to set tracing on standby. If on standby then the tracer is installed and made available. Then the tracer
+     * can be enabled later at runtime via JMX or via Tracer.setEnabled(true).
+     */
+    private boolean tracingStandby;
+
     /**
      * Tracing pattern to match which node EIPs to trace.
      * For example to match all To EIP nodes, use to*.