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/08/22 07:32:03 UTC
[camel-spring-boot] branch main updated: CAMEL-18415: camel-main - Add option to configure type converter statistics enabled
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 c61f1170e9b CAMEL-18415: camel-main - Add option to configure type converter statistics enabled
c61f1170e9b is described below
commit c61f1170e9b351b275b1c12db4d6ec8c6d6035cc
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Aug 22 09:31:55 2022 +0200
CAMEL-18415: camel-main - Add option to configure type converter statistics enabled
---
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 a6d7dd8d232..33c04604f6f 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.json
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.json
@@ -1132,6 +1132,13 @@
"type": "java.lang.Boolean",
"sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties"
},
+ {
+ "name": "camel.springboot.type-converter-statistics-enabled",
+ "type": "java.lang.Boolean",
+ "description": "Sets whether type converter statistics is enabled. By default the type converter utilization statistics is disabled. Notice: If enabled then there is a slight performance impact under very heavy load.",
+ "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties",
+ "defaultValue": false
+ },
{
"name": "camel.springboot.use-breadcrumb",
"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 5730901882f..98b6b546a09 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
@@ -360,6 +360,14 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties
*/
private boolean streamCachingStatisticsEnabled;
+ /**
+ * Sets whether type converter statistics is enabled.
+ *
+ * By default the type converter utilization statistics is disabled.
+ * Notice: If enabled then there is a slight performance impact under very heavy load.
+ */
+ private boolean typeConverterStatisticsEnabled;
+
/**
* Sets whether debugging is enabled or not.
*