Patent ID: 7945631

Claim:
In a componentized messaging system including a sending computer system with a message log, a second different receiving computer system with a cursor, and a computer network, wherein the sending computer system and the receiving computer system are connected to the network, the componentized message system for delivering messages from a message producer to a message consumer, the message log for capturing messages for delivery to the message consumer, the cursor maintaining message state for the message consumer such that message consumer state is maintained separate from the sending computer system, a method for maintaining message consumer state at the cursor, the method comprising: receiving a request for a message from the message consumer; in response to receiving the request for a message from the message consumer: referring to a current read sequence number, the current read sequence number corresponding to the last message that was delivered; sending a request for a next message to the message log, the request including the current read sequence number to indicate to the message log that the cursor last received the message corresponding to the current sequence number from the message log; receiving a new message and a next sequence number from the message log, the next sequence number corresponding to the new message within the message log, the next sequence number being a sequence number after the current read sequence number; delivering the new message to the message consumer; receiving a deletion request from the message consumer, the deletion request requesting deletion of the new message; and storing a record in the cursor state, the record indicating that the cursor considers the new message to be deleted.