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 2021/04/10 14:55:51 UTC

[camel-spring-boot] branch master updated: camel-core - Optimize with off uuid generator that can be used for memory profiling.

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
     new 38d0220  camel-core - Optimize with off uuid generator that can be used for memory profiling.
38d0220 is described below

commit 38d02202cd378784755f43c3ce6ec41fed477cd1
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Apr 10 16:55:40 2021 +0200

    camel-core - Optimize with off uuid generator that can be used for memory profiling.
---
 core/camel-spring-boot/src/main/docs/spring-boot.adoc                  | 2 +-
 .../org/apache/camel/spring/boot/CamelConfigurationProperties.java     | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/core/camel-spring-boot/src/main/docs/spring-boot.adoc b/core/camel-spring-boot/src/main/docs/spring-boot.adoc
index 856363a..73a16e2 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.adoc
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.adoc
@@ -229,7 +229,7 @@ The component supports 171 options, which are listed below.
 | *camel.springboot.use-breadcrumb* | Set whether breadcrumb is enabled. The default value is false. | false | Boolean
 | *camel.springboot.use-data-type* | Whether to enable using data type on Camel messages. Data type are automatic turned on if one or more routes has been explicit configured with input and output types. Otherwise data type is default off. | false | Boolean
 | *camel.springboot.use-mdc-logging* | To turn on MDC logging | false | Boolean
-| *camel.springboot.uuid-generator* | UUID generator to use. default (32 bytes), short (16 bytes), classic (32 bytes or longer), simple (long incrementing counter) | default | String
+| *camel.springboot.uuid-generator* | UUID generator to use. default (32 bytes), short (16 bytes), classic (32 bytes or longer), simple (long incrementing counter), off (turned off for exchanges - only intended for performance profiling) | default | String
 | *camel.springboot.warn-on-early-shutdown* | Whether to log a WARN if Camel on Spring Boot was immediately shutdown after starting which very likely is because there is no JVM thread to keep the application running. | true | Boolean
 | *camel.ssl.cert-alias* | An optional certificate alias to use. This is useful when the keystore has multiple certificates. |  | String
 | *camel.ssl.cipher-suites* | The optional explicitly configured cipher suites for this configuration. |  | CipherSuitesParameters
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 17299b1..ed7a580 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
@@ -104,7 +104,8 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties
     /**
      * UUID generator to use.
      *
-     * default (32 bytes), short (16 bytes), classic (32 bytes or longer), simple (long incrementing counter)
+     * default (32 bytes), short (16 bytes), classic (32 bytes or longer), simple (long incrementing counter), off
+     * (turned off for exchanges - only intended for performance profiling)
      */
     private String uuidGenerator = "default";