Managing failed WebSphere MQ events
A WebSphere® MQ event might fail if there is a problem such as a data-handling exception in the WebSphere MQ binding export or import used by an SCA module. When problems processing a WebSphere MQ request or response message create a failed WebSphere MQ event in the Recovery subsystem, you must decide how to manage that event. Use the information in this topic to help you identify and fix the error and clear the event from the Recovery subsystem.
About this task
recoveryMode property
to one of the following settings: bindingManaged |
Allow binding to manage recovery for failed messages |
unmanaged |
Rely on transport-specific recovery for failed messages |
- The function selector fails
- The fault selector fails
- The fault selector returns the
RuntimeExceptionfault type - The fault handler fails
- The data binding or data handler fails after another attempt in WebSphere MQ
ServiceRuntimeException exception
is thrown in a WebSphere MQ
binding target component after another attempt in WebSphere MQ.- MQExport receives the request message.
- MQExport starts the SCA component.
- The SCA component returns a response to MQExport.
- MQExport sends a response message.
The Recovery service captures the WebSphere MQ message and stores it in the failed event database. It also captures and stores the module name, component name, operation name, failure time, exception detail, and WebSphere MQ properties of the failed event. You can use the failed event manager to manage failed WebSphere MQ events, or you can use a custom program.
recoveryMode property to unmanaged. recoveryMode property is
missing for earlier versions of applications, the recovery capability
is regarded as enabled. To manage a failed WebSphere MQ event, perform the following steps.