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...

JBoss Drools in Mule

JBoss Drools is a rules engine. It executes statements that might modify the state of the objects, depending on which rules satisfy the input. Within Mule, input is fed to the rules engine from within a flow, and the rules execute to modify the state of that input....

Mule DataMapper Groovy Sample Helper

As Mule consultants, one issue we seem to repeatedly face is the excessive amount of time spent building the input/output structure of the DataMapper. The DataMapper in Mule 3.4 helps you solve this issue if you have XML, by importing the input using an XSD. The same...