'How to Get the scheduledID of a scheduled job when sending a message to ActiveMQ

I want to be able to delete any(some) scheduled messages programmatically from ActiveMQ, but for that, I need a scheduled job ID. Is there any way to get this ID, something like a response when I send a scheduled message to the queue?



Solution 1:[1]

No the scheduled jobs can only be queried using the Job Scheduler JMX Mbean or via the messaging based management support which has been written about here.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tim Bish