Red Hat
Dec 14, 2015
by Christina Lin
One thing I love about JBoss Fuse is the ability to visualize my Camel route and see how it is doing on the fly in pretty GUI interface. In JBoss Fuse, you will able to see these from Fuse management console under http://INSTALL_IP:818/, It provide an GUI interface to manage available Profiles in Fabric in Wiki page, logs view, health view, JMX console, OSGi views, A-MQ Broker manage console, Apache Camel, and Fuse Fabric. What happens when if I want to deploy my Camel Application on JBoss EAP? Is it possible to see the same thing in JBoss EAP? The answer is Yes!

When you install the JBoss Fuse patch on to JBoss EAP, you will notice there are two WAR files also deployed on to it as well. One of them is our JBoss Fuse management console! By going to http://localhost:8080/hawtio/login with the same ID/PWD as you enter in Enterprise Admin Console. You will be greeted with the welcome page. 

On the top, You will see Connect, Dashboard, JBoss, JMS and Threads tabs, notice I did not mention Camel as it appears in my diagram, that is because it will only show when there are Camel application deploy on the container. 

Anything you can do with Camel route in JBoss Fuse on Karaf container, you can find it here too in JBoss EAP. You can view the diagram representation of your camel route, along with the statistics of messages passing through each node. And you can also debug the route in the console, start debugging under "Debug" tab, set break point, and then off we go, 

As the message reach the break point, it will pause and you can see all the body content, header information on the console, click continue button to keep going,

 If you don't like pausing between endpoints, there is an option to trace your messages running in the route. By turning the Trace function on, you will be able to trace messages going through the route.

The detail header content will also display.

You can also see how each endpoint or processor are doing with each route.

 Edit the route on the fly.
 And don't forget there are also summarized view how all the route in the container too. Speaking of container, there are sometimes needs to see how it is doing, by going to Dashboard tab, it will show the CPU load, JVM status, and various states of the container.

Under JBoss tab, from here we can manage specific to the container that is running, for instance, in Application, it shows all the applications deployed on the container, here you can undeploy, start, stop or restart it.

 This is another piece of useful information, it shows all the used port in the container, so you know where to find all the endpoints.

 And lastly, a console display how the threads are doing.

That's all for now, I found this management console comes in quite handy when trying to deploy a Camel application on EAP. I hope you do too. :) 

Original Post