activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Remove all messages from a queue
Date Fri, 02 Mar 2007 07:41:46 GMT
On 3/1/07, Kelly Campbell <kelly.a.campbell@gmail.com> 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...

http://activemq.apache.org/how-to-unit-test-jms-code.html

-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message