Introduction This is the Generic Error Handling Subflow framework for IBM Integration Bus to simplify exception handling in a message flow that uses the MQInput node. Below are the benefits of using the MQ Generic Error Handling framework.
A. It’s fully functional as the Typical Error Handling Style
B. Many functions included in MQ/IIB Generic Error Handler
> Profiling the Error (System Error, Data Error)
> Retry Logic (Automatic and manual retry)
> Notification function (i.e. Email when needed)
> Stop the flow when error happens
> Auditing is enabled to log incoming, outgoing messages.
C. Reduces development time
> Can be very easily plugged by the developers
> All the parameters are configurable
D. Reduces Administration time
> Standard place to look for errors
> Standard reprocessing logic (Retry, Stop Message Flow)
Typical Error Handling Style
A. Error Happens in downstream nodes
B. Catch Terminal to catch exceptions
C. Failure Terminal
After plugging in the MQInput Generic Error Handler
Patterns
1) Write to ERROR_QUEUE when Any error
2) Stop flow when Any error
3) Stop flow when a System error
4) Retry when Any error
5) Retry when System error
6) Retry and Stop flow when Any error
7) Retry and Stop flow when System error
Acknowledgements
The author would like to thank Mike (Shenfu) Fan from the IBM Software Services ISSW team,
and Forest (Mu) Lin from the IBM Watson IOT team for reviewing and helping to improve this article.
Downloadable resources
Detailed Document:IIB_MQInput_GEHS_v1_0.pdf for list of patterns.
Project Interchange:IIB_MQInput_GEHS_V1_0.zip.