You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/01/20 12:28:18 UTC
[camel] branch master updated: CAMEL-16056: Added camel-jfr for
java flight recorder integration
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 7d52505 CAMEL-16056: Added camel-jfr for java flight recorder integration
7d52505 is described below
commit 7d52505cbaa479017006f2f55f89ba62d77c0407
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Jan 20 13:27:39 2021 +0100
CAMEL-16056: Added camel-jfr for java flight recorder integration
---
.../apache/camel/support/startup/DefaultStartupStepRecorder.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/core/camel-support/src/main/java/org/apache/camel/support/startup/DefaultStartupStepRecorder.java b/core/camel-support/src/main/java/org/apache/camel/support/startup/DefaultStartupStepRecorder.java
index d2e3b9b..cb90710 100644
--- a/core/camel-support/src/main/java/org/apache/camel/support/startup/DefaultStartupStepRecorder.java
+++ b/core/camel-support/src/main/java/org/apache/camel/support/startup/DefaultStartupStepRecorder.java
@@ -82,6 +82,10 @@ public class DefaultStartupStepRecorder extends ServiceSupport implements Startu
private String recordingDir;
private String recordingProfile = "default";
+ public DefaultStartupStepRecorder() {
+ currentSteps.offerFirst(0);
+ }
+
public boolean isEnabled() {
return enabled;
}
@@ -141,7 +145,7 @@ public class DefaultStartupStepRecorder extends ServiceSupport implements Startu
@Override
protected void doStart() throws Exception {
- currentSteps.offerFirst(0);
+ // noop
}
@Override