Dynamic Message Queue Subdivision for Adaptive Retrieval
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional messaging middleware systems, such as those using First In First Out (FIFO) queuing, fail to meet the needs of applications requiring diverse message retrieval options like Last In First Out (LIFO) or random retrieval, necessitating custom solutions.
Innovation Solution
A dynamic message retrieval system that allows switching between FIFO, LIFO, and random retrieval schemes during runtime based on messaging business rules, subdividing message queues by quantity or time limits, and applying primary and secondary retrieval schemes to meet evolving application needs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a FIFO queuing scheme is used for message retrieval, then the system is simple to implement and operate, but it cannot meet the needs of applications requiring diverse retrieval options like LIFO or random retrieval
Solution Approach 1:
The patent implements dynamic message retrieval by allowing the retrieval scheme to change during runtime based on messaging business rules. The system transitions from a static FIFO-only approach to a dynamic system that can switch between FIFO, LIFO, and random retrieval schemes, resolving the contradiction between adaptability and complexity by making the system configurable rather than fixed
Solution Approach 2:
The patent changes the parameter of retrieval scheme from a fixed value to a variable that can be adjusted based on business rules. By allowing the retrieval parameter to change between FIFO, LIFO, and random modes, the system achieves versatility without requiring multiple separate systems, thus managing complexity while improving adaptability
2Adaptability or versatility
If custom solutions are implemented to satisfy diverse message retrieval requirements, then application-specific needs are met, but the device complexity and development effort increase
Solution Approach 1:
The patent creates a universal message retrieval system that can handle multiple retrieval schemes (FIFO, LIFO, random) through a single unified implementation. The messaging business rules framework provides a universal mechanism that eliminates the need for separate custom solutions for different retrieval requirements, reducing development effort while maintaining flexibility
Solution Approach 2:
The system enables self-service by allowing applications to specify their desired retrieval scheme through messaging business rules without requiring custom development. The framework automatically configures the appropriate retrieval behavior based on the rules, eliminating the need for developers to write custom retrieval logic for each application scenario
Data Source
AI summary
Exemplary embodiments provide methods and systems for dynamically changing a message retrieval scheme during runtime in a client/server electronic messaging system in which the server executes a message retrieval component and incoming messages received from the client is stored in a message queue. Aspects of the exemplary embodiment include accessing messaging business rules from a memory by a message retrieval component at runtime, wherein the messaging business rules define a primary retrieval scheme and a secondary retrieval scheme, and wherein a value provided for each of the primary retrieval scheme and the secondary retrieval scheme are selected from a combination of different message retrieval types including: First In First Out (FIFO), Last In First Out (LIFO), and random. The message retrieval component subdivides the message queue into sub-queues based on at least one of a message quantity limit and a message received time limit specified in the business rules. Each of the sub-queues is then accessed using the value of the secondary retrieval scheme; and messages from each of the sub-queues are retrieved using the value of the primary retrieval scheme.


