Running the example

1. At a command prompt/shell, navigate to the apps/mule-example-errorhandler under the Mule distribution root.
2. Edit the classes/email.properties file with the SMTP settings for your environment. These settings are required for the Error Handler example to send an alert email.
3. Start mule from the $MULE_HOME directory. The Mule startup screen displays.
4. Open another console window and navigate to the apps/mule-example-errorhandler/test-data/out directory. This directory contains three files : MuleException.xml, BusinessException.xml, and FatalException.xml.
5. Move each of these files into the ../in directory one by one to see what happens. Each exception type will trigger a different endpoint. Note that the FatalException.xml file will cause Mule to send an email using the properties you specified in conf/email.properties.
6. To stop Mule, type 'CTRL-C' in the Mule console window.

Additional Information

Complete documentation for this example can be found here.