When I start an embedded ActiveMQ broker it is a fresh/clean/empty queue,
right?  My understanding was that there is no possibility of messages
building up from previous test runs or other message senders adding messages
to a queue which will be present the next time the embedded ActiveMQ broker
comes up.  The reason I ask is that I assume that the above is the case, and
my tests are expecting an empty queue each time they run, and I sometimes
see messages in the queue which shouldn't be in the queue as a result of my
test run, so I thought maybe they're leftovers from a previous test run. 
Can someone confirm that I am not mistaken about how the embedded broker
starts, so I can know that messages I read from my queue in a test are in
fact only messages which could have been sent as a result of my test (which
starts the embedded broker using Spring) and not leftovers from previous
runs.

Thanks in advance for any comments.

--James
-- 
View this message in context: 
http://www.nabble.com/Embedded-broker-is-always-empty-%28no-messages%29-each-time-it%27s-started--tp21339447p21339447.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to