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 2022/05/11 12:53:09 UTC
[camel-spring-boot] branch main updated: CAMEL-18085 Introduction of ManagementMBeansLevel (#557)
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 c119d541dfe CAMEL-18085 Introduction of ManagementMBeansLevel (#557)
c119d541dfe is described below
commit c119d541dfe026be42b524c541e93e92ec7b2576
Author: JiriOndrusek <on...@gmail.com>
AuthorDate: Wed May 11 14:53:03 2022 +0200
CAMEL-18085 Introduction of ManagementMBeansLevel (#557)
---
core/camel-spring-boot/src/main/docs/spring-boot.json | 5 +++++
.../apache/camel/spring/boot/CamelConfigurationProperties.java | 9 +++++++++
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 cb39cba2cfc..ec8aaa1999e 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.json
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.json
@@ -673,6 +673,11 @@
"sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties",
"defaultValue": true
},
+ {
+ "name": "camel.springboot.jmx-management-m-beans-level",
+ "type": "org.apache.camel.ManagementMBeansLevel",
+ "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties"
+ },
{
"name": "camel.springboot.jmx-management-name-pattern",
"type": "java.lang.String",
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 6ce4c9bea54..d6ea11087b3 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
@@ -17,6 +17,7 @@
package org.apache.camel.spring.boot;
import org.apache.camel.LoggingLevel;
+import org.apache.camel.ManagementMBeansLevel;
import org.apache.camel.ManagementStatisticsLevel;
import org.apache.camel.StartupSummaryLevel;
import org.apache.camel.main.DefaultConfigurationProperties;
@@ -539,6 +540,14 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties
*/
private boolean allowAddingNewRoutes = true;
+ /**
+ * Sets the JMX statistics level
+ * The level can be set to Extended to gather additional information
+ *
+ * The default value is Default.
+ */
+ private ManagementMBeansLevel jmxManagementMBeansLevel = ManagementMBeansLevel.Default;
+
/**
* Sets the JMX statistics level
* The level can be set to Extended to gather additional information