And I would like to add to this question. How do you delete messages from a durable topic?
> i'm using 2.4.1. how can we get rid of messages
> on a queue that we just don't want processed.
> during development, sometimes a message causes
> problems and i just want to get rid of it.
Just write a utility JMS program that uses a selector and receives() the message with the message id set in the selector!
If you wirte this utility and want it included as part of the JBossMQ distribution, please donate it to the project!
Will that work for a durable topic. Since more than there can be more than one reciever won't it stay in the topic?
You would have to do the same operation on all the durable subscriptions.