Config Examples: How to Configure a Catch Exception Strategy in Mule 3

1) Drag the Catch Exception Strategy icon from the Mule Palette into the 'Error handling' area of the flow:


2) The configuration of the Catch Exception Strategy will depend on your use case. The configuration itself:


But an example of something you might have:


In this case when you have an exception, the logger logs the exception as #[exception]:


Which is passed to a database element that calls an abort MySQL procedure (click to enlarge):


Comments