View delayed messages in ActiveMQ?

activemq-classic, scheduling

Solution

I wrote an article on this awhile back.

The gist of it is that you can use a standard JMS message consumer to retrieve all or some of the scheduled messages and manage them using a standard producer. The scheduled messages are kept in a separate store and only injected into the broker once their scheduled time arrives so they won't show up in the web console.

Problem

Is there any way to keep track of delayed (scheduled) messages in ActiveMQ? I don't see anything in the AMQ web console, they seem to get to the queue only when the delay expires... Also I couldn't find it in JMX console, maybe I didn't search well enough?

Original source