On Aug 16, 2006, at 9:55 PM, Balakumar Narayanasamy wrote:
Is there is any of clearing queue faster other than pulling out
message or deleting the existing queue and extracting again from source
file. Note:- I am using persistent Queue


There's a purge() method available on queues that is exposed via JMX. It will purge all messages not in prefetch buffers. In your case if your consumers are dead then you will have no outstanding messages in prefetch, so it should clear all of them.

John


Reply via email to