We now have a nice EIP Visualisation maven plugin available! So you can now easily generate nice graphical reports of your EIP routing rules from your application code.

We've also added the generation of these EIP diagrams to the standard maven reports via the Camel Maven Plugin. For example here's the generated example routing rules for the camel-spring module. Notice how you can click on most of the EIP nodes to go to the pattern page! And hover over a node to get more detailed description etc.

For a description of theplugin and how it works is see here.In summary; just add the camel-maven-plugin to your <reporting> section of your pom.xml then make sure you have a META-INF/spring/*.xml in your classpath which configures your EIP routing rules (via Java or XML). Note that if you do not intend to include a META-INF/spring/*.xml file in your jar, you could put this in the src/test/resources directory so it will only be used for generating the reports.

  • No labels