Patent ID: 8447818

Claim:
A method for message handling, the method comprising, in response to a request from a client to receive a message from a first queue at a server, repeating: retrieving by the server a next message from the first queue; determining by the server a message identifier and a time of the next message; in response to determining that a message is referenced within a non-persistent store at the server by a message identifier equal to the message identifier of the next message, and in response to determining that the message is further referenced within the non-persistent store by a time unequal to the time of the next message, temporarily skipping the next message as being a partially duplicative message to the message referenced within the non-persistent store, such that the next message is sent to the client in response to a later request from the client to receive a message from the first queue when the next message is no longer a partially duplicative message to any message referenced within the non-persistent store; in response to determining that no message is referenced within the non-persistent store by a message identifier equal to the message identifier of the next message, storing a reference of the next message within the non-persistent store by storing the message identifier and the time of the next message within the non-persistent store; and, sending from the server to the client the next message as the message responsive to the request from the client, and removing the next message from the first queue, until the server has sent the next message to the client responsive to the request from the client.