Skip to content

Latest commit

 

History

History

camel-jbang

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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.1.0.redhat-00015

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

camel hawtio --version=4.1.0.redhat-00015 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