×

Optimistic processing of messages in a messaging system

  • US 9,442,781 B2
  • Filed: 09/14/2006
  • Issued: 09/13/2016
  • Est. Priority Date: 09/17/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method for a receiving queue manager to process messages optimistically, the method comprising:

  • receiving, from a source queue manager, an indication that a message which forms part of a transaction is uncommitted;

    determining from the message itself that the message is uncommitted;

    storing, in response to the determination that the message is uncommitted, the message in memory, the memory having a table containing details of all uncommitted messages which form other parts of the transaction, the uncommitted messages having an assigned sending identification at the source queue manager that is correlated in the table with a receiving queue manager identification which is assigned when a new transaction is received at the receiving queue manager;

    placing, in response to a determination that the transaction has been committed by an application which originated the message, the list of messages, including the uncommitted message, on a receive queue for processing therefrom;

    removing, in response to placing the message of the transaction on a receive queue, reference to the transaction and an associated linked list of messages by updating the table; and

    deleting, in response to receiving at the destination queue manager an indication that the transaction including the message is to be undone, the transaction from the memory;

    wherein the table contains a plurality of entries, each of the plurality of entries contains a specific assigned sending identification and a specific receiving queue manager identification for a specific transaction, and each of the specific sending identification and the specific receiving queue manager identification point to a separate linked list of uncommitted messages owned by the specific transaction, andwherein each of the linked list of uncommitted messages represents a single transaction.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×