Using Hawtio to monitor Apache Camel route started as Java standalone process
Step 1: Gathering info
http://hawt.io/getstarted/index.html
Step 2: Download Jolokia Java Agent
Download Jolokia JARs from http://jolokia.org/dist/1.2.1/jolokia-1.2.1-bin.zip. Unzip the file.
Step 3: Add VM arguments to for enabling Jolokia Java Agent
Add following VM arguments when starting your Java standalone client:
Step 4: Start the Camel route
You should see something similar in your console
Step 5: Download and install Chrom Client
Steps:
- Download the chrom extension from http://central.maven.org/maven2/io/hawt/hawtio-crx/1.3.1/hawtio-crx-1.3.1.crx
- Start Chrom and open extension path at
chrome://extensions/
- Drop the downloaded CRX file onto the page
- Open the app page, select Hawtio app and enter the URL that was shown on Step 4. In my case this was port 8778 and path jolokia.
You should see the Hawtio page with your Camel route:
I especially like the Diagram tab showing the route layout:
Original post: http://peter-on-java.blogspot.com/2014/05/using-hawito-to-monitor-apache-camel.html