Purge/delete messages from a queue
843830Jun 16 2005 — edited Jun 21 2005Hi
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