To Jar hell and back

In this blog post we use JHades to troubleshoot problems in our classpath. JHades is a powerful tool that gives us useful information when trying to resolve a certain set of problems in Java development. The demo behind this blog post builds on the following: RAML...

Mule ClassNotFoundException When Running Tests

The Issue Running tests with Mule sometimes throws a ClassNotFoundException when it tries to lookup org.apache.commons.cli.ParseException. The following is the whole stack trace. If you’re encountering this, then this blog post is for you! View the code on Gist....

Retrieving JMX information programmatically

Retrieving JMX information for a Java process is very easy when using a tool such as JConsole or JVisualVM. These provide an interface that allows viewing of information such as CPU usage, memory usage, threads active and more. This blog post gives an example of how...

Threads and private flows in Mule

One of the things that I believe is slightly¬†complicated in Mule is the behaviour of private flows. Wait… is there a difference between private flows and sub-flows? Well there is, and if you are not aware of it, it might bite you very badly. Let’s start...