activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Bertram <jbert...@apache.org>
Subject Re: delete messages from artemis broker
Date Wed, 25 Oct 2017 16:27:36 GMT
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.asmussen@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message