activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: Delete/Purge Topic
Date Tue, 01 Aug 2017 04:09:57 GMT
The topic deletion URL you found sounds like it should work, though it's
not something I've ever played with. Does it work as expected for you?

The command line tools have a way to purge messages from a destination (see
the purge task at the bottom of, but
I've not used it so I can't say for sure that it allows purging of both
queues and topics. Even if it allows purging of topics, you'd still need to
provide a means to invoke it remotely (i.e. write your own simple REST
webapp and run it on the broker host), so simply deleting the topic via
REST sounds like the better option to me.


On Fri, Jul 28, 2017 at 3:48 AM, meghaauti <> wrote:

> Hi Tim
> 1. We have certain criteria where all the messages present in the topic is
> no longer valid and new messages are exported on the same topic.
> That is the reason I want to delete all the messages on the Topic before
> new
> messages are sent.
> If it is possible to just remove the messages instead of deleting the topic
> that solution will be more acceptable.
> We have found a way to delete topic using AMQ REST api. Following is the
> for the same.
> http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,
> brokerName=localhost,destinationType=Topic,destinationName=Test1/
> deleteTopic
> 2. The subscribers are durable and will remain online during the process. I
> simply want them to stay active and wait for messages on the same topic.
> Megha
> --
> View this message in context: http://activemq.2283324.n4.
> Sent from the ActiveMQ - User mailing list archive at

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