We have a requirement where we want to write a global exception handler so that any exception on any of the individual flows(we have 80+ mule flows) is caught by this global exception handler.
Basically we want to add a global configuration and associate a default global catch exception strategy so that any exception in any of the flows are handled here.
Adding each 'catch exception strategy' per flow works but I have to repeat the similar code 50+ times which I want to avoid for obvious reasons.
Also, please note I want to pass specific parameters to this global exception strategy so that this global exception strategy gives flow specific info as well. Please suggest.
Note: I do not see a global catch exception strategy option in 'Global Elements' of mule UI.
References:
Mule specific docs do not clarify clearly.
https://docs.mulesoft.com/mule-user-guide/v/3.7/error-handling
This requirement looks very similar but not very clear about passing parameters etc:

Error Handling Component. - star