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 c02cd8b512a camel-jbang - Add load average statistics c02cd8b512a is described below commit c02cd8b512a38fece9aacdceb396758ae7f35262 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu Sep 8 16:13:02 2022 +0200 camel-jbang - Add load average statistics --- core/camel-spring-boot/src/main/docs/spring-boot.json | 7 +++++++ .../apache/camel/spring/boot/CamelConfigurationProperties.java | 8 ++++++++ 2 files changed, 15 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 c0338b4a39c..c5c02c8b3f5 100644 --- a/core/camel-spring-boot/src/main/docs/spring-boot.json +++ b/core/camel-spring-boot/src/main/docs/spring-boot.json @@ -729,6 +729,13 @@ "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties", "defaultValue": false }, + { + "name": "camel.springboot.load-statistics-enabled", + "type": "java.lang.Boolean", + "description": "Sets whether context load statistics is enabled (something like the unix load average). The statistics requires to have camel-management on the classpath as JMX is required. The default value is false.", + "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties", + "defaultValue": false + }, { "name": "camel.springboot.load-type-converters", "type": "java.lang.Boolean", 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 5690a21f418..af18ba63965 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 @@ -496,6 +496,14 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties */ private boolean endpointRuntimeStatisticsEnabled; + /** + * Sets whether context load statistics is enabled (something like the unix load average). + * The statistics requires to have camel-management on the classpath as JMX is required. + * + * The default value is false. + */ + private boolean loadStatisticsEnabled; + /** * Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while * the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and