Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Inspired greatly by Gregor and Erik's great talk at TSSJS 2006 we've started to add some visualisation plugins into Apache ServiceMix.

This implementation uses the Interfaces EndpointListener respectively ExchangeListener and creates DOT files (online viewer Grappa).
Both visualisation listeners can be added to the <listeners> element of the <container> tag  (see #Configuration below).

Component and Endpoint visualisation

There is a <dotViewEndpointListener/> listener plugin which can be added to the <listener> element of the <container> tag which generates a DOT file representing the components and their endpoints.

...

<dotViewFlowListener/> is another listener which generates a graph representing the message exchanges flow within the container.

Configuration

The following example shows how to configure a simple visualization listener in the servicemix.xml config file.

...

Realtime Monitoring

The InstantSVC project provides a set of shell scripts which uses dnotify for monitoring the dot files generated by ServiceMix
in order to render postscript or png files with dot.

To achieve realtime monitoring postscript viewers can be used which usually have a feature to watch for file changes.
See the release notes of the realtime monitoring package for further details and an example configuration.

A note 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.

...