Implementing a message queuing interface (MQI) indexed queue support that adds a key to the index on put commit
Abstract
Provided are a method, computer program product and system for providing indexed queue support for efficient retrieval of messages from a queue. An index key for expediting message retrieval is assigned to a message when the operation of placing the message on a queue is committed. The index key assigned at commit time comprises an attribute (such as a message ID or correlation ID) specified by the sending application program, which placed the message on the queue. This deferred assignment of an index key until commit time means that the index key can be used to search for messages having the particular attribute without any possibility of identifying messages for retrieval before the messages have been committed. This maintains transactional requirements of a transaction-oriented messaging system which requires a message to only be made available for retrieval by receiver application programs after the sender application's put operation has committed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 24.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of managing retrieval of messages from a shared queue, where a plurality of receiver applications retrieve messages from the same shared queue, where a PUT operation by a sender application is used to place a message onto the shared queue, and where a message on the queue is not to be retrieved until a subsequent commit of the PUT operation occurs, the method comprising: assigning an index key to a message in response to a commit of the PUT operation, wherein the assigned index key comprises an attribute value of the message which was specified by the sender application when the messa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗