5

Is there a way to visualize Camel routes from Java DSL? If so what is the best way to do this? If not are there any work arounds to visualize Camel routes from Java DSL?

user6248190
  • 1,233
  • 2
  • 16
  • 31
  • Possible duplicate of [Get visual documentation from camel routes in Java?](https://stackoverflow.com/questions/43596563/get-visual-documentation-from-camel-routes-in-java) – MTCoster Dec 04 '18 at 10:45
  • I'm not really sure how you want the routes and the EIPs to be visualized. In one of my tech-demo applications I used AWS XRay (distributed tracing) to ["visualize" the invoked beans and processors for a processed message](https://github.com/RovoMe/camel-rest-dsl-with-spring-security). The same should be achiveable via OpenTracing and Zipkin (or the like) – Roman Vottner Dec 04 '18 at 11:28

2 Answers2

4

I have created a simple open-source project to visualize Apache Camel routes written in Java DSL.

camel-net

You can find the code and instructions how to set it up on GitHub: https://github.com/BenjaminBrandmeier/camel-net

Benjamin Brandmeier
  • 724
  • 1
  • 9
  • 19
3

Yes! You can use hawt.io to visualise the camel routes.

It's very easy to use. Just plug it in to a running application with a valid Camel context, and you can visualise your routes.

https://hawt.io/

vikingsteve
  • 38,481
  • 23
  • 112
  • 156