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.git

commit 8860d830acaf3a303c5e972db683c4bff15268e6
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jan 20 12:19:40 2021 +0100

    CAMEL-16056: Added camel-jfr for java flight recorder integration
---
 .../apache/camel/catalog/main/camel-main-configuration-metadata.json  | 4 ++++
 docs/components/modules/others/pages/main.adoc                        | 4 ++++
 2 files changed, 8 insertions(+)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json
index 9429f05..640fe32 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json
@@ -72,7 +72,11 @@
     { "name": "camel.main.shutdownSuppressLoggingOnTimeout", "description": 
"Whether Camel should try to suppress logging during shutdown and timeout was 
triggered, meaning forced shutdown is happening. And during forced shutdown we 
want to avoid logging errors\/warnings et all in the logs as a side-effect of 
the forced timeout. Notice the suppress is a best effort as there may still be 
some logs coming from 3rd party libraries and whatnot, which Camel cannot 
control. This option is defa [...]
     { "name": "camel.main.shutdownTimeout", "description": "Timeout in seconds 
to graceful shutdown Camel.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer", 
"javaType": "int", "defaultValue": 45 },
     { "name": "camel.main.startupRecorder", "description": "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.", 
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": 
"string", "javaType": "java.lang.String" },
+    { "name": "camel.main.startupRecorderDir", "description": "Directory to 
store the recording. By default the user home directory will be used. Use false 
to turn off saving recording to disk.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string", 
"javaType": "java.lang.String" },
+    { "name": "camel.main.startupRecorderDuration", "description": "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", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer", 
"javaType": "long" },
     { "name": "camel.main.startupRecorderMaxDepth", "description": "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.", 
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": 
"integer", "javaType": "int", "defaultValue": -1 },
+    { "name": "camel.main.startupRecorderProfile", "description": "To use a 
specific Java Flight Recorder profile configuration, such as default or 
profile. The default is default.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string", 
"javaType": "java.lang.String", "defaultValue": "default" },
+    { "name": "camel.main.startupRecorderRecording", "description": "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.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", 
"javaType": "boolean", "defaultValue": true },
     { "name": "camel.main.streamCachingAnySpoolRules", "description": "Sets 
whether if just any of the org.apache.camel.spi.StreamCachingStrategy.SpoolRule 
rules returns true then shouldSpoolCache(long) returns true, to allow spooling 
to disk. If this option is false, then all the 
org.apache.camel.spi.StreamCachingStrategy.SpoolRule must return true. The 
default value is false which means that all the rules must return true.", 
"sourceType": "org.apache.camel.main.DefaultConfigurationProp [...]
     { "name": "camel.main.streamCachingBufferSize", "description": "Sets the 
stream caching buffer size to use when allocating in-memory buffers used for 
in-memory stream caches. The default size is 4096.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer", 
"javaType": "int" },
     { "name": "camel.main.streamCachingEnabled", "description": "Sets whether 
stream caching is enabled or not. Default is false.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", 
"javaType": "boolean" },
diff --git a/docs/components/modules/others/pages/main.adoc 
b/docs/components/modules/others/pages/main.adoc
index 41abefd..cce2203 100644
--- a/docs/components/modules/others/pages/main.adoc
+++ b/docs/components/modules/others/pages/main.adoc
@@ -86,7 +86,11 @@ The following table lists all the options:
 | *camel.main.shutdownSuppress{zwsp}LoggingOnTimeout* | Whether Camel should 
try to suppress logging during shutdown and timeout was triggered, meaning 
forced shutdown is happening. And during forced shutdown we want to avoid 
logging errors/warnings et all in the logs as a side-effect of the forced 
timeout. Notice the suppress is a best effort as there may still be some logs 
coming from 3rd party libraries and whatnot, which Camel cannot control. This 
option is default false. |  | boolean
 | *camel.main.shutdownTimeout* | Timeout in seconds to graceful shutdown 
Camel. | 45 | int
 | *camel.main.startupRecorder* | 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. |  | String
+| *camel.main.startupRecorderDir* | 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.main.startupRecorder{zwsp}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 |  | long
 | *camel.main.startupRecorderMax{zwsp}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 | int
+| *camel.main.startupRecorder{zwsp}Profile* | To use a specific Java Flight 
Recorder profile configuration, such as default or profile. The default is 
default. | default | String
+| *camel.main.startupRecorder{zwsp}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
 | *camel.main.streamCachingAny{zwsp}SpoolRules* | Sets whether if just any of 
the org.apache.camel.spi.StreamCachingStrategy.SpoolRule rules returns true 
then shouldSpoolCache(long) returns true, to allow spooling to disk. If this 
option is false, then all the 
org.apache.camel.spi.StreamCachingStrategy.SpoolRule must return true. The 
default value is false which means that all the rules must return true. |  | 
boolean
 | *camel.main.streamCachingBuffer{zwsp}Size* | Sets the stream caching buffer 
size to use when allocating in-memory buffers used for in-memory stream caches. 
The default size is 4096. |  | int
 | *camel.main.streamCaching{zwsp}Enabled* | Sets whether stream caching is 
enabled or not. Default is false. |  | boolean

Reply via email to