Method, apparatus and software for managing a transactional message queue
Abstract
Provided are a method, apparatus and a computer program for managing message queues. Message streaming is enabled in a transactional messaging system that supports priority ordering of messages, without the need for complex locking mechanisms. Any messages which are transferred from a message queue to a message consumer after the message consumer initiates commit processing are replaced on the message queue at an appropriate position ahead of other messages. As part of commit processing, the consumer sends back to the manager of the message queue an identification of messages delivered to it before the commit, and this list of messages is extracted and compared with a message log to identify undelivered messages. Successfully delivered and committed messages can be committed by the queue manager, and undelivered messages can be replaced on the queue. A special high priority is assigned to the replaced messages to place them ahead of other messages.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 6.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for managing a message queue in a transactional messaging system, said method comprising: receiving a first set of messages onto the message queue, said first set of messages being ordered earliest received first on said queue; sending a second set of one or more of said messages from the front of said queue to a message consumer; receiving a commit message from said message consumer, said commit message indicating a third set of messages to be committed; identifying any messages in said second set of messages and not in said third set of messages; and replacing said identified messag
- Claim 2Depends on #1
The method according to claim 1 , wherein said second set of messages are sent to said message consumer in response to
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗