×

Systems and methods for supporting transactional message handling

  • US 8,838,526 B2
  • Filed: 11/01/2011
  • Issued: 09/16/2014
  • Est. Priority Date: 06/24/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method in a host organization having at least a processor and a memory therein, the method comprising:

  • enqueuing a message into a message queue framework of the host organization, the message specifying a transaction to be processed via the host organization, the transaction comprising at least a row to be inserted into a database of the host organization;

    inserting the row into the database of the host organization via the message queue framework, wherein a status for the row inserted into the database remains pending absent initiation of a commit operation for the row;

    initiating, via the message queue framework, the commit operation for the row inserted into the database upon insertion of the row into the database regardless of whether any further processing occurs;

    requesting a lock on the row inserted into the database;

    concluding the transaction failed or processed successfully based on whether the lock requested on the row is obtained or denied and based further on whether the status for the row is pending or ready by determining whether the enqueued message has been orphaned and will not be consumed based on whether the lock on the row is available, whether the status for the row is pending, and whether the enqueued message has exceeded a time threshold; and

    initiating a clean up operation for the enqueued message based on the determining whether the enqueued message has been orphaned and will not be consumed, wherein the clean up operation comprises discarding the message by removing the row from the database and committing the deletion of the row to the database.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×