If you have already created a global error handler plugin (if not then click here to know how to create one), then you definitely want to share that among all different mule-applications. This article gives an example of how to install a global error handler plugin in a mule-application.
As a recap, our error response builder is a mule plugin which is responsible for managing error response and handling generic errors. This plugin will be imported in each working Mule project and invoke the generic error handling flow available in it.
This article assumes that you have maven installed on your local computer.
- JDK (tested in 1.8.0_211).
- Maven (tested in 3.3.9).
- Mule runtime version 4 or above.
- Anypoint Studio version 7 or above.