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

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


The following commit(s) were added to refs/heads/camel-spring-boot-3.20.x by 
this push:
     new b3896a15abb CAMEL-18846: camel-main - Performance overhead due to 
emitting events not needed
b3896a15abb is described below

commit b3896a15abb7e48dfb347f02c9e7d6bca9d83820
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Dec 28 12:10:02 2022 +0100

    CAMEL-18846: camel-main - Performance overhead due to emitting events not 
needed
---
 core/camel-spring-boot/src/main/docs/spring-boot.json                   | 2 +-
 .../java/org/apache/camel/spring/boot/CamelConfigurationProperties.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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 cf9e5d5a340..638c623b30c 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.json
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.json
@@ -964,7 +964,7 @@
       "type": "java.lang.Boolean",
       "description": "Whether to restart max duration when routes are 
reloaded. For example if max duration is 60 seconds, and a route is reloaded 
after 25 seconds, then this will restart the count and wait 60 seconds again.",
       "sourceType": 
"org.apache.camel.spring.boot.CamelConfigurationProperties",
-      "defaultValue": true
+      "defaultValue": false
     },
     {
       "name": "camel.springboot.shutdown-log-inflight-exchanges-on-timeout",
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 af18ba63965..da48ce7faf5 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
@@ -247,7 +247,7 @@ public class CamelConfigurationProperties extends 
DefaultConfigurationProperties
      * Whether to restart max duration when routes are reloaded. For example 
if max duration is 60 seconds, and a route
      * is reloaded after 25 seconds, then this will restart the count and wait 
60 seconds again.
      */
-     private boolean routesReloadRestartDuration = true;
+     private boolean routesReloadRestartDuration;
 
     /**
      * To specify for how long time in seconds to keep running the JVM before 
automatic terminating the JVM.

Reply via email to