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


The following commit(s) were added to refs/heads/master by this push:
     new b0dc164  camel-jfr - Do not auto record if on classpath
b0dc164 is described below

commit b0dc1645eaca50bb2fe4b5d59058303c3f503342
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Mar 18 08:58:25 2021 +0100

    camel-jfr - Do not auto record if on classpath
---
 .../apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git 
a/components/camel-jfr/src/main/java/org/apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java
 
b/components/camel-jfr/src/main/java/org/apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java
index bb21a36..53cbcce 100644
--- 
a/components/camel-jfr/src/main/java/org/apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java
+++ 
b/components/camel-jfr/src/main/java/org/apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java
@@ -44,12 +44,6 @@ public class FlightRecorderStartupStepRecorder extends 
DefaultStartupStepRecorde
     private Recording rec;
     private FlightRecorderListener frl;
 
-    public FlightRecorderStartupStepRecorder() {
-        setEnabled(true);
-        // pre-empty enable recording so we have as early as possible 
recording started
-        setRecording(true);
-    }
-
     @Override
     public void doStart() throws Exception {
         super.doStart();

Reply via email to