You should be able to use the code I pasted previously (or some
approximation thereof) to get the functionality you're looking for.  Have
you tried that out?


Justin

On Wed, Oct 25, 2017 at 10:59 AM, preben <preben.asmus...@gmail.com> wrote:

> Actually I start and stop the broker between each test, but when running a
> series of tests it seems that the newly started broker picks up messages
> produced in the previous test ?
> I would have presumed, that it would get a clean broker. To work around
> this
> I need the deleteAllMessages.
>
> I like the EmbeddedJMSResource, and might use that instead.
>
> How can i get hold of all list of queues and topics via the
> EmbeddedJMSResouce so I can call removeMessages ?
>
> And it would be nice with a deleteAllMessages, but I'm not sure I got
> bandwidth to do a PR in the near future.
>
> /Preben
>
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>

Reply via email to