camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
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
diagram.

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 <j0r1s_v@hotmail.com> 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: http://camel.465427.n5.nabble.com/camel-example-docs-does-not-work-tp5751346p5753913.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message