[rabbitmq-discuss] LIFO queue

Simon MacMullen simon at rabbitmq.com
Mon Apr 28 11:47:03 BST 2014


On 28/04/2014 09:22, Nagy, Attila wrote:
> Hence, I would need a LIFO queue in RabbitMQ too.

Feel free to provide an alternate implementation:

http://hg.rabbitmq.com/rabbitmq-server/file/02d1d855e4b3/src/rabbit_backing_queue.erl

On a slightly more serious note, you could use TTL + DLX to at least get 
"old" messages into a lower priority queue. But you probably already 
knew that.

Cheers, Simon



More information about the rabbitmq-discuss mailing list