This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
The following commit(s) were added to refs/heads/main by this push:
new d604348 Add camel-jfr to timer-http
d604348 is described below
commit d604348dccb8069d50651533eccedefaf62017c3
Author: Federico Mariani <[email protected]>
AuthorDate: Wed Dec 1 14:25:55 2021 +0100
Add camel-jfr to timer-http
---
profiling/timer-http/pom.xml | 4 ++++
profiling/timer-http/src/main/resources/application.properties | 5 +++++
2 files changed, 9 insertions(+)
diff --git a/profiling/timer-http/pom.xml b/profiling/timer-http/pom.xml
index 3c57513..5d9010a 100644
--- a/profiling/timer-http/pom.xml
+++ b/profiling/timer-http/pom.xml
@@ -64,6 +64,10 @@
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
+ <artifactId>camel-jfr</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
<artifactId>camel-http</artifactId>
</dependency>
diff --git a/profiling/timer-http/src/main/resources/application.properties
b/profiling/timer-http/src/main/resources/application.properties
index f106b44..02e164e 100644
--- a/profiling/timer-http/src/main/resources/application.properties
+++ b/profiling/timer-http/src/main/resources/application.properties
@@ -45,5 +45,10 @@ camel.component.http.copy-headers = false
# run for about 2 minutes
camel.main.duration-max-seconds = 130
+# turn on java flight recorder
+camel.main.startup-recorder = jfr
+camel.main.startup-recorder-profile = profile
+camel.main.startup-recorder-recording = true
+
# properties used in the route
myPeriod = 1