Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Purge/delete messages from a queue

843830Jun 16 2005 — edited Jun 21 2005
Hi

How can I purge / delete all messages in a queue programmaticly? In the JMS-API I couldn't find anything.

I use the implementation of SUN. The effect should be the same as with the admin tool:

imqcmd purge dst -n MyQueueDest -t q

Is there a documented API of this admin-tools? Or are there other tricks?

Thank you
Andreas
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 19 2005
Added on Jun 16 2005
1 comment
252 views