Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Visualisation

Warning

This functionality is deprecated and to be removed in future Camel releases.

 

Camel supports the visualisation of your Enterprise Integration Patterns using the GraphViz DOT files which can either be rendered directly via a suitable GraphViz tool or turned into HTML, PNG or SVG files via the Camel Maven Plugin.

Here is a typical example of the kind of thing we can generate HTML

script#http://activemq.apache.org/camel/maven/camel-spring/cameldoc/index.html

HTML

outputhtml
<a href="http://activemq.apache.org/camel/maven/camel-spring/cameldoc/index.html"> <img src="http://activemq.apache.org/camel/maven/camel-spring/cameldoc/routes.png"/> </a> Image Added

If you click on the link and go to the actual generated HTML htmlyou will see that you can navigate from an EIP node to its pattern page, along with getting hover-over tool tips ec.

Here is another example

How to generate

See Camel Dot Maven Goal or the other maven goals Camel Maven Plugin HTML

outputhtml
<a href="http://activemq.apache.org/camel/maven/examples/camel-example-spring/cameldoc/index.html"> <img src="http://activemq.apache.org/camel/maven/examples/camel-example-spring/cameldoc/routes.png"/> </a>

For OS X users

If you are using OS X then you can open the DOT file using graphviz which will then automatically re-render if it changes, so you end up with a real time graphical representation of the topic and queue hierarchies!

...