cleanup JMS queue/topic messages - Weblogic
This is a discussion on cleanup JMS queue/topic messages - Weblogic ; how do I clean up all messages left on a queue/topic ? thx....
-
cleanup JMS queue/topic messages
how do I clean up all messages left on a queue/topic ? thx.
-
Re: cleanup JMS queue/topic messages
There is no purge command.
In 8.1, delete and recreate the destination via the console,
JMX, or extensions.JMSHelper, the JMS
server doesn't even need to be booted. A timestamp
in the destination configuration is automatically set to
let JMS detect that the destination is a new version.
In 7.0, delete the queue, shutdown the JMS server,
reboot the JMS server, and then recreate the destination.
In any version, shutting down the JMS server will delete
non-persistent messages.
You can delete topic subscriptions via the console.
You can write a simple JMS client to drain the destination
by consuming messages. (Multi-thread multiple consumers to
speed this up considerably.)
Queen Tsao wrote:
> how do I clean up all messages left on a queue/topic ? thx.