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 713884c2757e8c4184a03b295a3959d3879f42ba
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Jan 20 14:58:30 2021 +0100

    CAMEL-16056: Added camel-jfr for java flight recorder integration
---
 core/camel-spring-boot/src/main/docs/spring-boot.adoc                  | 2 +-
 .../org/apache/camel/spring/boot/CamelConfigurationProperties.java     | 3 ++-
 docs/modules/ROOT/pages/spring-boot.adoc                               | 2 +-
 3 files changed, 4 insertions(+), 3 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 c8b7b00..60878db 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.adoc
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.adoc
@@ -202,7 +202,7 @@ The component supports 165 options, which are listed below.
 | *camel.springboot.shutdown-timeout* | Timeout in seconds to graceful 
shutdown Camel. | 300 | Integer
 | *camel.springboot.startup-recorder* | To use startup recorder for capturing 
execution time during starting Camel. The recorder can be one of: false, 
logging, java-flight-recorder The default is false. | false | String
 | *camel.springboot.startup-recorder-dir* | Directory to store the recording. 
By default the user home directory will be used. Use false to turn off saving 
recording to disk. |  | String
-| *camel.springboot.startup-recorder-duration* | How long time to run the 
startup recorder. Use 0 (default) to stop the recorder after Camel has been 
started. Use -1 to keep the recorder running until Camel is being stopped. A 
positive value is to run the recorder for N seconds. When the recorder is 
stopped then the recording is auto saved to disk | 0 | Long
+| *camel.springboot.startup-recorder-duration* | How long time to run the 
startup recorder. Use 0 (default) to stop the recorder after Camel has been 
started. Use -1 to keep the recorder running until the JVM is being stopped. A 
positive value is to run the recorder for N seconds. When the recorder is 
stopped then the recording is auto saved to disk (note: save to disk can be 
disabled by setting startupRecorderDir to false) | 0 | Long
 | *camel.springboot.startup-recorder-max-depth* | To filter our sub steps at a 
maximum depth. Use -1 for no maximum. Use 0 for no sub steps. Use 1 for max 1 
sub step, and so forth. The default is -1. | -1 | Integer
 | *camel.springboot.startup-recorder-profile* | To use a specific Java Flight 
Recorder profile configuration, such as default or profile. The default is 
default. | default | String
 | *camel.springboot.startup-recorder-recording* | To enable Java Flight 
Recorder to start a recording and automatic dump the recording to disk after 
startup is complete. This requires that camel-jfr is on the classpath. The 
default is true. | true | 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 6ee26ab..2828e49 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
@@ -704,9 +704,10 @@ public class CamelConfigurationProperties extends 
DefaultConfigurationProperties
      * How long time to run the startup recorder.
      *
      * Use 0 (default) to stop the recorder after Camel has been started. Use 
-1 to keep the recorder running until
-     * Camel is being stopped. A positive value is to run the recorder for N 
seconds.
+     * the JVM is being stopped. A positive value is to run the recorder for N 
seconds.
      *
      * When the recorder is stopped then the recording is auto saved to disk
+     * (note: save to disk can be disabled by setting startupRecorderDir to 
false)
      */
     private long startupRecorderDuration;
 
diff --git a/docs/modules/ROOT/pages/spring-boot.adoc 
b/docs/modules/ROOT/pages/spring-boot.adoc
index c8b7b00..60878db 100644
--- a/docs/modules/ROOT/pages/spring-boot.adoc
+++ b/docs/modules/ROOT/pages/spring-boot.adoc
@@ -202,7 +202,7 @@ The component supports 165 options, which are listed below.
 | *camel.springboot.shutdown-timeout* | Timeout in seconds to graceful 
shutdown Camel. | 300 | Integer
 | *camel.springboot.startup-recorder* | To use startup recorder for capturing 
execution time during starting Camel. The recorder can be one of: false, 
logging, java-flight-recorder The default is false. | false | String
 | *camel.springboot.startup-recorder-dir* | Directory to store the recording. 
By default the user home directory will be used. Use false to turn off saving 
recording to disk. |  | String
-| *camel.springboot.startup-recorder-duration* | How long time to run the 
startup recorder. Use 0 (default) to stop the recorder after Camel has been 
started. Use -1 to keep the recorder running until Camel is being stopped. A 
positive value is to run the recorder for N seconds. When the recorder is 
stopped then the recording is auto saved to disk | 0 | Long
+| *camel.springboot.startup-recorder-duration* | How long time to run the 
startup recorder. Use 0 (default) to stop the recorder after Camel has been 
started. Use -1 to keep the recorder running until the JVM is being stopped. A 
positive value is to run the recorder for N seconds. When the recorder is 
stopped then the recording is auto saved to disk (note: save to disk can be 
disabled by setting startupRecorderDir to false) | 0 | Long
 | *camel.springboot.startup-recorder-max-depth* | To filter our sub steps at a 
maximum depth. Use -1 for no maximum. Use 0 for no sub steps. Use 1 for max 1 
sub step, and so forth. The default is -1. | -1 | Integer
 | *camel.springboot.startup-recorder-profile* | To use a specific Java Flight 
Recorder profile configuration, such as default or profile. The default is 
default. | default | String
 | *camel.springboot.startup-recorder-recording* | To enable Java Flight 
Recorder to start a recording and automatic dump the recording to disk after 
startup is complete. This requires that camel-jfr is on the classpath. The 
default is true. | true | Boolean

Reply via email to