Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following example shows how to configure a simple visualization listener.

Wiki Markup
{snippet:id=dot|lang=xml|url=http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-jsr181/src/test/resources/org/apache/servicemix/jsr181/spring.xml}
Code Block
xmlxml

  <sm:container ...>
    <sm:listeners>
      <sm:dotViewEndpointListener file="target/ServiceMixComponents.dot"/>
    </sm:listeners>
    ...
  </sm:container>

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.

...