Re: Remove all messages from a queue

2007-03-02 Thread Kelly Campbell
the broker separetly in your setUp() - and set the deleteAllMessageOnStartup property on the broker before calling start () or setting a transport connector (for vm:// you won't need to explicitly do this). cheers, Rob Davies http://rajdavies.blogspot.com/ On 1 Mar 2007, at 22:13, Kelly Ca

Re: Remove all messages from a queue

2007-03-01 Thread Kelly Campbell
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. Thanks, Kelly On 5/17/06, Hiram