This content has been marked as final.
Show 4 replies
-
1. Re: removing problem messages from a queue
llsouder Sep 24, 2001 8:39 PM (in response to fstarsinic)And I would like to add to this question. How do you delete messages from a durable topic?
-
2. Re: removing problem messages from a queue
hchirino Sep 24, 2001 11:37 PM (in response to fstarsinic)> 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! -
3. Re: removing problem messages from a queue
llsouder Sep 25, 2001 11:09 AM (in response to fstarsinic)Will that work for a durable topic. Since more than there can be more than one reciever won't it stay in the topic?
-
4. Re: removing problem messages from a queue
hchirino Sep 25, 2001 9:14 PM (in response to fstarsinic)You would have to do the same operation on all the durable subscriptions.