Reference Exception Strategy
You can create one or more global exception strategies to reuse in flows throughout your entire Mule application. First, create a global exception strategy, then add a Reference Exception Strategy to a flow to apply the error handling behavior of a specific global exception strategy.
When to Use
Use a reference exception strategy to instruct a flow to employ the error handling behavior defined by a global rollback exception strategy. In other words, you must ask your flow to refer to a global exception strategy for instructions on how to handle errors.
Applying a Global Rollback Exception Strategy to a Flow
- If you have not already done so, create a global catch, rollback, or choice exception strategy to which your reference exception strategy can refer.
- From the Error Handling palette group, drag and drop the reference exception strategy icon into the footer bar of a flow.

- Double-click the Reference Exception Strategy icon on the footer bar to open the Pattern Properties panel.

- Select a Global Exception Strategy from the drop-down combo box.
- Click the Documentation tab and record information about the reference exception strategy, if you wish, then click OK to save your changes.
You can append a Reference Exception Strategy to any number of flows in your Mule application and instruct them to refer to any of the global catch, rollback or choice exception strategies you have created. You can direct any number of reference exception strategies to refer to the same global exception strategy. |
You can create a global exception strategy (i.e. access the Choose Global Type panel) from the reference exception strategy’s pattern properties panel. Click the + button next to the Global Exception Strategy drop-down combo box and follow the steps to create a global catch, rollback, or choice exception strategy. |