Duran Harris wrote:Hi all,
I have configured a an embedded ActiveMQ Broker in a JmsTemplate to start up for unit tests.
But I am confused as it seems there are many messages on the queue although I did not put any there...
Marking resolved... I'm just clearing the messages out between each test for now.
Wait, you have to have put some messages on a queue. Messages don't get put on a queue without you putting them there. ActiveMQ won't make messages out of thin air, Spring doesn't and put them on your queue. Some code somewhere that you wrote put them there.
Mark