×

Publisher flow control and bounded guaranteed delivery for message queues

  • US 7,779,418 B2
  • Filed: 07/29/2005
  • Issued: 08/17/2010
  • Est. Priority Date: 12/30/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method for managing messages in computer systems, the method comprising:

  • if one or more conditions are satisfied, then spilling over first one or more messages from a queue in volatile memory to a permanent store, wherein the first one or more messages were enqueued in the queue by a publisher;

    in response to spilling over the first one or more messages, updating a parameter associated with the publisher, wherein the parameter indicates a particular message of second one or more messages that were enqueued by the publisher in the queue after the first one or more messages;

    wherein the first one or more messages and the second one or more messages have not been consumed by all consumers of one or more consumers that are associated with the publisher; and

    in response to the occurrence of an event that requires a replay operation, performing the steps of;

    inspecting the parameter to identify the first one or more messages in the permanent store;

    retrieving the first one or more messages from the permanent store and enqueueing the first one or more messages in the queue without causing the publisher to re-create and to re-enqueue the first one or more messages in the queue even though the first one or more messages have not been consumed by all consumers of the one or more consumers that are associated with the publisher; and

    causing the publisher to re-enqueue the second one or more messages in the queue as part of the replay operation;

    wherein the method is performed by the one or more computing devices.

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