on 08-01-2007 6:38 PM
I all,
I have a queue, that keep object messages sended from a MDB. Now, i need to delete a register from my queue, like:
DUMMY EXAMPLE:
for (int i=0; i<10;i++)
{
"delete from my_queue where id_message = i"
}
I don't know if that is posible, if some could help me...
Thanks in advance,
Jorge
you cant delete a message programatically. it would be done by the JMS provider(JMS server ) when the message is consumed. there could be tools at the JMS server administration level but definately not programatically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok thanks both, i was need to know first that, if is posible, without another object like a MDB, thanks, problem solve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jorge,
There are not any tools to delete messages from a queue. You can only monitor them. To remove messages from a destination, they just have to be consumed.
Regards,
Ekaterina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.