Patent ID: 8626860

Claim:
A method for defining delays to support consistent tiered messaging performance for two or more classes of service, comprising: receiving, by a query server, messages from one or more sources; analyzing, by the query server, the messages in order to identify a class of service associated with each of the messages; injecting in each message associated with a first class of service, by the query server, a first defined delay prior to initiating processing of the message, wherein the duration of the first defined delay is based on at least the first class of service and a first maximum expected wait time; processing, by the query server, each message; injecting in each message associated with a second class of service, by the query server, a second defined delay subsequent to completing processing of the message, wherein the duration of the second defined delay is based on at least the second class of service and a second maximum expected wait time; storing each processed message in an outgoing queue; sending, by the query server, a notification to the destination component that a processed message is available for retrieval; and releasing, by the query server, the processed message to the destination component based upon a request by the destination component.