How to avoid message loss if the connection is broken when TIBCO ActiveMatrix BusinessWorks Plug-in for WebSphere MQ is putting a message to MQ server.
book
Article ID: KB0093662
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for IBM MQ
-
Not Applicable
-
Description
Description:
If the connection between TIBCO ActiveMatrix BusinessWorks Plug-in for WebSphere MQ (MQ Plugin) and the IBM MQ Queue Manager is broken, the Put activity will throw an error when trying to put a message to the MQ Queue. If you loop back to the next Put, the current message will be lost.
Issue/Introduction
How to avoid message loss if the connection is broken when TIBCO ActiveMatrix BusinessWorks Plug-in for WebSphere MQ is putting a message to MQ server.
Resolution
If you require that the Put message not be lost, the error catch should not just Put a new message but Put the same message until it succeeds or exceeds a defined threshold, then loop back to a new message. This sort of recovery is handled by the BW application instead of a Put activity of MQ Plugin.
Additional Information
Attached a sample project (Filename: Sample.zip) which demonstrates a case of how a Put with a recover process can be designed.
Attachments
How to avoid message loss if the connection is broken when TIBCO ActiveMatrix BusinessWorks Plug-in for WebSphere MQ is putting a message to MQ server.
get_app