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 generates a DOT file representing the components and their endpoints.
MessageExchange flow
<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.
Also if you want to edit the layout a little before adding it to a wiki to distribute to your team, open the DOT file with OmniGraffle then just edit away
Visualisation Wish List
There are so many different things we could visualise; our only limitation is our imagination. So if you have any ideas for what we could visualise please add something to our Visualisation Wish List
2 Comments
Anonymous
ionolsen42 Great website! Bookmarked! I am impressed at your work! http://www_3_1.gmail.com/ www_3_1
http://www_3_2.gmail.com/ www_3_2
http://www_3_3.gmail.com/ www_3_3
http://www_3_4.gmail.com/ www_3_4
http://www_3_5.gmail.com/ www_3_5
http://www_3_6.gmail.com/ www_3_6
http://www_3_7.gmail.com/ www_3_7
http://www_3_8.gmail.com/ www_3_8
http://www_3_9.gmail.com/ www_3_9
http://www_3_10.gmail.com/ www_3_10
http://www_3_11.gmail.com/ www_3_11
Anonymous
ionolsen43 I just don not have anything to say right now. http://wiki.cubic.uni-koeln.de/cdkwiki/media/lifeinsurancequote.html premium insurance
http://www.spod.ethz.ch/wiki/lib/exe/fetch.php?id=spod%3Aanregungen_webseite&cache=cache&media=spod:autoinsurancecompany.html auto insurance nj
http://www.spod.ethz.ch/wiki/lib/exe/fetch.php?id=spod%3Aanregungen_webseite&cache=cache&media=spod:wholelifeinsurance.html whole life premium
http://www.spod.ethz.ch/wiki/lib/exe/fetch.php?id=spod%3Aanregungen_webseite&cache=cache&media=spod:carinsurancerate.html travel car
http://www.spod.ethz.ch/wiki/lib/exe/fetch.php?id=spod%3Aanregungen_webseite&cache=cache&media=spod:terminsurance.html whole life term
http://wiki.cubic.uni-koeln.de/cdkwiki/media/autoinsurancequotes.html auto rate quotes