Thanks for your answer,
You mean that I cannot edit any property of jms messages using QueueControl while they are in Schedule and that I cannot delete them before they are put in delivery?
Laura
UPDATE
I am not able to delete scheduled messages from the queue by Id or custom properties, but only using a null filter. Unfortunately providing a null filter to QueueControl.removeMessages will remove all messages
How should I write the filter for removing a scheduled message by id?
You mean that I cannot edit any property of jms messages using QueueControl while they are in Schedule and that I cannot delete them before they are put in delivery?
In my previous comment I was specifically referring to org.hornetq.core.management.impl.QueueControlImpl#changeMessagePriority. I'm not 100% sure whether or not you could edit any property.
How should I write the filter for removing a scheduled message by id?
Here's an idea...You could set your own unique ID on each message you send and then use that property as the basis for your filter.
Hi Justin,
Filters on custom properties works, thanks a lot!
Now I'm trying to set consumer's window.
Laura