activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Remove all messages from a queue
Date Fri, 02 Mar 2007 07:41:46 GMT
On 3/1/07, Kelly Campbell <> wrote:
> I'm trying to figure out how to do this same thing in the current
> codebase (4.1/4.2). Basically I just want to purge all queues at the
> beginning of a unit test to ensure a clean start. I have a local vm://
> broker and would prefer not to go through JMX to do this.

If you are unit testing then do this...



View raw message