×

Duplicate message elimination during recovery when multiple threads are delivering messages from a message store to a destination queue

  • US 20060200829A1
  • Filed: 02/18/2005
  • Published: 09/07/2006
  • Est. Priority Date: 02/18/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • processing, by a plurality of message threads, operations to deliver messages from a message store to a destination queue, wherein one message thread processes one message;

    generating an in-doubt list identifying messages that are in-progress of being delivered form the message store to the destination queue by the message threads;

    adding, by one message thread processing one message, an entry including the message identifier and the thread identifier to a monitor queue;

    adding, by the message thread, the message to the destination queue;

    generating a recovery thread in response to detecting a failure in the processing by the message threads to deliver the messages from the message store to the destination queue; and

    processing, by the recovery thread, the messages indicated in the in-doubt list and comparing with message identifiers in the monitor queue to prevent duplicate delivery of messages to the destination queue.

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