摘要 |
A method of queuing messages for communications between computer programs by placing a plurality of messages in a main queue, placing one or more property messages in one or more property queues associated with the main queue and, for each property message, specifying at least one property of a respective message in the main queue and a unique identifier for the respective message. A property name may be specified for a message, or a property value, or some combination of property names and values. An application program interface (API) makes the main queue and the one or more property queues appear as a single priority queue. A message is retrieved from the main queue according to a predefined priority list which includes the at least one property, which can again be a property name, a property value, or some combination of property names and values. The priority list can be dynamically modified. The system can be implemented in an environment where the messages are placed in the queue by a first computer connected to a network, and retrieved by a second computer connected to the network, with the messages being transmitted across the network.
|