Jfr

JVM since1.7.0 Nativeunsupported

Diagnose Camel applications with Java Flight Recorder

What’s inside

Please refer to the above link for usage and configuration details.

Maven coordinates

<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-jfr</artifactId>
</dependency>

Check the User guide for more information about writing Camel Quarkus applications.

Additional Camel Quarkus configuration

Configuration property Type Default

quarkus.camel.jfr.startup-recorder-dir

Directory to store the recording. By default the user home directory will be used. Use false to turn off saving the recording to disk.

string

quarkus.camel.jfr.startup-recorder-duration

How long time to run the startup recorder. Use 0 (default) to keep the recorder running until the JVM is exited. Use -1 to stop the recorder right after Camel has been started (to only focus on potential Camel startup performance bottlenecks) Use a positive value to keep recording 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).

java.lang.Long

quarkus.camel.jfr.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.

java.lang.Integer

quarkus.camel.jfr.startup-recorder-profile

To use a specific Java Flight Recorder profile configuration, such as default or profile. The default is default.

string

quarkus.camel.jfr.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.

java.lang.Boolean

Configuration property fixed at build time. All other configuration properties are overridable at runtime.