Queue-based error management
You can use the Message Reprocessing application to manage erroneous inbound and outbound asynchronous integration messages that use queues.
Errors that occur when a message is sent from a queue to an external system are typically caused by a communication failure or a problem with database configuration when writing to interface tables or files. Errors that occur during inbound processing are typically a result of business rule validations or the inbound processing logic of the integration framework.
The sequential queue processes messages one at a time, in a first-in-first-out sequence. As a result, only a single error can exist in a sequential queue. When the integration framework encounters an error in processing a message in a sequential queue, inbound or outbound, the error management mechanism is initiated and the message is flagged as having an error. Subsequent messages in the queue are not processed until the message in error is resolved or deleted.
The continuous queue handles inbound processing only and processes messages in a multi-threaded mode. When an error occurs in the continuous queue, error management is initiated and the message is flagged as having an error. The integration framework continues to process subsequent messages in the queue. As a result, multiple errors can exist in a continuous queue.
Depending on your queue configuration, the integration framework makes several attempts to reprocess the message before determining that an error requires intervention. The system also performs the following activities when encountering an error:
- Sends a notification to one or more email accounts, informing the recipients that an error occurred. The address either is specified with the mxe.int.admintoemail system property or on the message queue. An address on the message queue takes precedence over the address on the system property.
- Creates a record that can be viewed and managed in the Message Reprocessing application. This record includes the message that was placed in the queue.