Pimp your Mule Flow debugging session


Mule Management Console 3.1 ships with the brand new Flow Analyzer. Select your server, interesting flows, click start and enjoy seeing real-time messages passing through mule! Click on an debug event and you will see the payload before and after each message processor of your flow.

Out of the box MMC will convert the payload to a string representation using custom toString method if any or by reflectively inspecting its individual fields. While in most cases this is sufficient an extension mechanism allows to customize this.

By implementing some interface you can plug your own logic and choose which detail of your payload you are interested to debug.

To do this simply package a Jar file with your logic and bundle it as part of mmc-agent application. This Jar file will have to contain:

  • extensions.xml spring file defining your classes
  • your implementations of MMC interfaces
Could not embed GitHub Gist 748421: Not Found

Simply drop this Jar under mmc-agent/lib, restart MMC agent application and enjoy your pimped flow debugging session!

We'd love to hear your opinion on this post