×

Coordinating application state and communication medium state

  • US 9,021,503 B2
  • Filed: 01/24/2008
  • Issued: 04/28/2015
  • Est. Priority Date: 11/16/2007
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a computer architecture including a communication medium and an application with a plurality of consumers that consume messages from the communication medium, a method for coordinating state between the communication medium and the application, the method comprising:

  • an act of a consumer sending a message request to the communication medium;

    an act of the consumer receiving a view of the contents of a message from the communication medium, the receiving being a result of a receive function which is separated into an access action and a lock action, the communication medium having locked the message for exclusive access by the consumer in response to the message request and the communication medium having provided a view of the contents of the message to the consumer such that a competing consumer sees a message immediately following the locked message as a next available message;

    an act of the consumer attempting to update application state for the application based on the content view;

    an act of determining the results of the attempted application state update; and

    an act of signaling the communication medium how to update communication medium state based on the determined results to coordinate the communication medium state with the application state, the signal indicating the communication medium state is to unlock the message when the consumer cannot accept the message and the signal indicating the communication medium state is to delete the message when the consumer successfully accepts the message;

    wherein the act of the consumer receiving a view of the contents of a message from the communication medium comprises an act of receiving a view of a message body that is contained in a message envelope along with a message header,wherein the contents of a message comprise an object,wherein the object is extended with property associated with the message, the property being an abstraction of a portion of temporary state the communication medium is holding and associating with the message, andwherein the consumer interacts with the property to complete message receipt.

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