Polling reliably at scale using DLQs(blog.smallcase.com)
blog.smallcase.com
Polling reliably at scale using DLQs
https://blog.smallcase.com/polling-reliably-at-scale-using-dlqs/
1 comments
ActiveMQ is awesome. Very easy to set up, lots of features, fast enough for most workloads and extremely stable.
Unlike ActiveMQ, RabbitMQ doesn't automatically send undelivered messages to a default DLQ. So that doesn't apply in this use case.
The ActiveMQ header to schedule messages looks promising. Thanks for sharing, will check it out. :)
The ActiveMQ header to schedule messages looks promising. Thanks for sharing, will check it out. :)
ActiveMQ is an amazing toolbox however. In fact, it contains the exact feature they want (and surprised they did not mention). Internally it is driven by a robust Quartz scheduler. You simple enable scheduling on your broker config (schedulerSupport="true") then all you would need to do is put a header on your messages AMQ_SCHEDULED_DELAY with the number of ms to delay.