Java application for checking the performance of Apache Camel v3.4.3 routes that contain Simple language
Clone the git repository using the URL on the GitHub home page:
$ git clone https://github.com/dchirov/camel-performance-sample.git
$ cd camel-performance-sample
$ ./mvnw clean compile
$ mvnw.cmd clean compile
All required JVM parameters have been already set in camel-performance-sample/.mvn/jvm.config file:
-XX:FlightRecorderOptions=memorysize=50M,stackdepth=256 -XX:StartFlightRecording=disk=true,duration=1m,filename=application-recording.jfr,maxsize=100M
This setup starts a recording, collects info for duration (1 minute) and saves the content afterwards in: camel-performance-sample/application-recording.jfr.
For details about configuration see chapter: Advanced Runtime Options for Java: https://docs.oracle.com/en/java/javase/11/tools/java.html
$ ./mvnw camel:run
$ mvnw.cmd camel:run
After downloading on a Windows platform the generated JFR file can be analyzed by: https://www.oracle.com/java/technologies/jdk-mission-control.html