Modified Java-Mule's sample version