Are there any thoughts on how to achieve fair queuing with Artemis MQ.

We have a limited resource (the consumer) and many of our customers are 
producing messages for it. We do not want a customer producing a lot of 
messages from blocking a customer that only sends a few (basically the 
definition of fair queueing)

On one of our systems we use redis based queuing. There’s a list of currently 
active customer queues, and the consumer cycles through them pulling off from 
the respective queue, removing the customer from the list if the queue is empty.

Is it possible to achieve something similar with Artemis?

I would think if it is, it involves auto-create-queues on an existing anycast 
address, but from there I’m not sure how I would round robin consumption.

If anyone has an idea I’d be interested. If Artemis MQ is the wrong tool for 
the job, that’s an answer too.

Stephen E. Baker

Reply via email to