Since Camel 3.8

The Camel Java Flight Recorder (JFR) component is used for integrating Camel with Java Flight Recorder (JFR).

This allows to monitor and troubleshoot your Camel applications with JFR.

The camel-jfr component emits lifecycle events for startup to JFR. This can for example be used to pin-point which Camel routes may be slow to startup.

See the startupRecorder options from Camel Main


To enable you just need to add camel-jfr to the classpath, and enable JFR recording.

JFR recordings can be started either at: - When running the JVM using JVM arguments - When starting Camel by setting camel.main.startup-recorder-recording=true.

See the camel-example-flight-recorder from the Camel Examples.

Spring Boot Auto-Configuration

When using JFR (Java Flight Recorder) with Spring Boot make sure to use the following Maven dependency to have support for auto configuration:

  <!-- use the same version as your Camel core version -->