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/02/12 08:10:50 UTC

[camel-spring-boot] branch main updated: CAMEL-19026: tracing standby

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 97f11832379 CAMEL-19026: tracing standby
97f11832379 is described below

commit 97f118323794616a64c68679925490ca61dafd66
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Feb 12 09:10:39 2023 +0100

    CAMEL-19026: tracing standby
---
 core/camel-spring-boot/src/main/docs/spring-boot.json             | 4 +++-
 .../apache/camel/spring/boot/CamelConfigurationProperties.java    | 8 ++++++++
 2 files changed, 11 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 f8bf8659a7d..f4c62426739 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.json
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.json
@@ -522,7 +522,9 @@
     {
       "name": "camel.springboot.backlog-tracing-standby",
       "type": "java.lang.Boolean",
-      "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties"
+      "description": "Whether to set backlog tracing on standby. If on standby then the backlog tracer is installed and made available. Then the backlog tracer can be enabled later at runtime via JMX or via Java API. Default is false.",
+      "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties",
+      "defaultValue": false
     },
     {
       "name": "camel.springboot.bean-introspection-extended-statistics",
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 3112fd14e42..b53dd8e952d 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
@@ -387,6 +387,14 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties
      */
     private boolean backlogTracing;
 
+    /**
+     * Whether to set backlog tracing on standby. If on standby then the backlog tracer is installed and made available.
+     * Then the backlog tracer can be enabled later at runtime via JMX or via Java API.
+     *
+     * Default is false.
+     */
+    private boolean backlogTracingStandby;
+
     /**
      * Sets whether tracing is enabled or not.
      *