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

commit c86698a0f0d9c89aa2beb039b4b5ae2085e0ebff
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Jan 23 08:29:30 2020 +0100

    CAMEL-14426: camel-core - Optimize inflight repository
---
 .../apache/camel/spring/boot/CamelConfigurationProperties.java   | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git 
a/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
 
b/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
index 6041683..05f8181 100644
--- 
a/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
+++ 
b/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
@@ -109,6 +109,8 @@ public class CamelConfigurationProperties extends 
DefaultConfigurationProperties
     /**
      * Sets whether to log information about the inflight Exchanges which are 
still running
      * during a shutdown which didn't complete without the given timeout.
+     *
+     * This requires to enable the option inflightRepositoryExchangeEnabled.
      */
     private boolean shutdownLogInflightExchangesOnTimeout = true;
 
@@ -338,6 +340,13 @@ public class CamelConfigurationProperties extends 
DefaultConfigurationProperties
     private boolean allowUseOriginalMessage;
 
     /**
+     * Sets whether the inflight repository should track each inflight 
exchange.
+     *
+     * This is by default disabled as there is a very slight performance 
overhead when enabled.
+     */
+    private boolean inflightRepositoryExchangeEnabled;
+
+    /**
      * Sets whether endpoint runtime statistics is enabled (gathers runtime 
usage of each incoming and outgoing endpoints).
      *
      * The default value is false.

Reply via email to