Polling reliably at scale using DLQs
blog.smallcase.com
blog.smallcase.com
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.
The ActiveMQ header to schedule messages looks promising. Thanks for sharing, will check it out. :)