camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: camel-example-docs does not work
Date Wed, 16 Jul 2014 12:45:40 GMT
There is a JMX API that outputs the Camel routes in xml format.

There is a "dumpRoutesAsXml" on the camel context mbean.
This is what the karaf camel commands uses, and also what hawtio and
fuse ide etc uses to "visualize" running Camel apps.

The old dot code "kinda" did the same but they were using the route
definition (model) java class and did its own "dot" model.

But taking the xml output (which is like what you do when defining
routes in xml) is the cleanest. So its a matter of transforming that
xml into a dot format, or whatever format you can use to generate a

For example we could make make a hawtio camel plugin that takes this
xml output and uses the hawtio logic to draw a diagram, which you can
then view in a browser, or have it maybe save to PNG files etc.

On Wed, Jul 16, 2014 at 1:15 PM, j00ris <> wrote:
> Hi Claus,
> Thanks for the info.
> Is there a replacement for this deprecated functionality? E.g. another way
> to generate Graphviz diagrams about routes?
> --
> Joris Vanhoof
> -----------------
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message