Queue Fairness and Messaging Servers
问题 I'm looking to solve a problem that I have with the FIFO nature of messaging severs and queues. In some cases, I'd like to distribute the messages in a queue to the pool of consumers on a criteria other than the message order it was delivered in. Ideally, this would prevent users from hogging shared resources in the system. Take this overly simplified scenario: There is a feature within an application where a user can empty their trash can. This event dispatches a DELETE message for each item