Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.25 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.25 KB

How to use Hawtio with Camel JBang

Camel JBang is the fastest and preferable way to start developing your Camel application. This example demonstrates how you can use Hawtio with Camel JBang.

The instructions are explained in the Camel user manual here:

How to use

In essence, here are what you need to do to use Hawtio with Camel JBang.

Firstly, run the example Camel route:

camel run ContentBasedRouter.java

In another terminal, attach a Jolokia agent to the running route and then open Hawtio:

camel jolokia ContentBasedRouter
camel hawtio --version=4.0.0.redhat-00072

You can also combine the two commands in a single one with camel hawtio:

camel hawtio --version=4.0.0.redhat-00072 ContentBasedRouter

Once the Hawtio console is open, go to Connect -> Discover tab. You will see the running route ContentBasedRouter is discovered.

Connect - Discover

Hit the Connect button and you will see the Camel plugin view with the tree of the running Camel route contents.

Camel route