4

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?

2 Answers 2

5

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.

1
  • Is there any way to find out what destination they're scheduled to be delivered to? The destination is listed as the temporary queue created for the response, and the 'originalDestination' field seems to always return null.
    – Steve K
    Aug 7, 2015 at 7:55
4

here might you want ,only click the 'Scheduled ' you can find this

enter image description here

1
  • 1
    Warning: If you have many scheduled messages (100.000+), clicking this button can crash the whole node, and result in failover. We experienced this in Amazon MQ with ActiveMQ under the hood. Dec 7, 2020 at 9:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.