Reactive Message Queue Manager for Asynchronous Error Correction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In asynchronous messaging systems, existing mechanisms for error handling and message correction are limited, as once a message is produced, the producer has no control over it, leading to inefficiencies and delays when faulty messages are processed and require correction.

Innovation Solution

A queue manager system that allows reactive messages to identify and modify or delete previously initiated messages before they are processed, enabling enhanced error handling and message tracking by using reactive messages that can be stored and acted upon even if the original message is not immediately available.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a message is sent in an asynchronous messaging system, then the message can be delivered to the destination queue, but the producer loses control over the message and cannot correct errors once it is produced

Engineering Contradiction:
Improvemessage delivery reliabilityVSAvoidmessage correction capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system performs preliminary actions by placing messages on queues for later processing rather than immediate processing. This allows the message to be held in a queued state where it can be identified and modified by reactive messages before being processed, enabling error correction while maintaining the asynchronous delivery model.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The queue manager acts as an intermediary between the producer and the destination queue. It receives messages from the producer, stores them on queues, and allows reactive messages to be inserted as intermediaries that can identify and modify original messages before they are processed by the destination application.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If faulty messages are processed and then corrected by sending further messages, then error handling is achieved, but delays occur due to processing both faulty and compensating messages

Engineering Contradiction:
Improveerror handling capabilityVSAvoidcorrection delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary correction actions by inserting reactive messages onto queues before the original faulty messages are processed. The queue manager processes reactive messages first to identify and modify the original messages, so that when the destination application processes the corrected messages, no additional compensating messages are needed, eliminating the time delay.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system discards the need for separate compensating messages by recovering and correcting the original faulty messages in place. Reactive messages modify the original messages directly on the queue, so the faulty messages are transformed into corrected messages rather than being supplemented by additional compensating messages.

Inventive Principle:
Principle #34Discarding and recovering

3Reliability

If reactive messages are used to identify and modify messages on queues, then error handling is improved, but the system complexity increases

Engineering Contradiction:
Improveerror handling capabilityVSAvoidqueue manager complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The queue manager is designed with multi-functionality to handle both original messages and reactive messages through a unified processing framework. It can identify messages by correlation IDs, process reactive messages to modify original messages, and manage the entire lifecycle of message correction without requiring separate specialized systems, thereby limiting the increase in complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

4Adaptability or versatility

If messages are held on queues for later processing, then message correction is enabled, but the duration of message storage increases

Engineering Contradiction:
Improvemessage modification capabilityVSAvoidmessage queue storage duration
Core Design Contradiction:
Adaptability or versatilityVSDuration of action of stationary object

Solution Approach 1:

The system performs preliminary correction actions while messages are held on queues, but only for the minimal necessary duration. Reactive messages are processed immediately upon arrival to modify original messages before they are retrieved for processing, so the extended storage duration is limited to only what is necessary to enable the correction action.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentEP2335153B1Queue manager and method of managing queues in an asynchronous messaging system
Publication Date: 2018.07.04 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • EP2335153B1 patent drawingFigure 1
  • EP2335153B1 patent drawingFigure 2
  • EP2335153B1 patent drawingFigure 3

AI summary

A queue manager (11, 21) for managing queues (22) of messages in an asynchronous messaging system stores (73) input messages on queues and retrieves messages from queues for further processing. The queue manager takes advantage of the asynchronous nature of the system to act on messages before they are supplied to a target application by providing a reactive message facility (15, 25). In response to receipt of a reactive message identifying another message, the queue manager determines whether the identified message is present on a managed queue and, in response to a determination (51, 52) that the identified message is present, performs an action (53) on said identified message as specified in the reactive message. Actions can include deleting, modifying, rerouting and reporting location.