Patent ID: 8479219

Claim:
A method of queueing messages in allocated space of a message queue in a computing system, comprising: determining a classification of a message to be queued in a message queue that queues messages for a plurality of classifications, further comprising: evaluating at least one characteristic of the message; and selecting, from a plurality of predetermined classifications, the classification that corresponds to the evaluated at least one characteristic; determining, from a total amount of space of the message queue, an amount of the space that is allocated to queueing messages having the determined classification; determining an amount of the allocated space that is in use for already-queued messages having the determined classification; and if the determined amount of the allocated space that is in use for the already-queued messages having the determined classification does not exceed the determined amount of the space that is allocated to queueing messages having the determined classification, then queueing the message in the message queue and updating the amount of the allocated space that is in use for the already-queued messages having the determined classification, and otherwise, sending the message for queueing temporarily in a secondary queue that is distinct from the message queue.