On Aug 17, 2017 7:39 AM, "meghaauti" <meghaa...@gmail.com> wrote:

Hi
I am sorry there was a mistake in the previous question

Using jolokia api I am able to delete a topic but when topic(with the same
name that was deleted) is again created somehow subscribers are not getting
registered.


Do they re-subscribe if you restart the consumer (but not the broker)? Is
the problem only that the consumers don't react to the deletion by
reconnecting automatically, or are you describing a larger problem? Also,
what if anything do you see in the consumer logs at the time you delete the
topic?

Also on web console, I am able to see that subscribers have destination name
as the topic name.

if a topic is removed, why does the subscribers have the deleted topic name
as a destination?


I'm not understanding what you're describing (or maybe I'm not
understanding why you think it's incorrect); a topic is a type of
destination, so "topic name" and "destination name" mean the same thing and
so it's no surprise to me that they have the same value. Could you share a
screenshot of the web console to illustrate what you mean? And maybe one
from just before you delete the topic, to highlight what changed in ways
you weren't expecting.

if activemq is restarted(that i dont want to do), these subscribers are
removed. is it an expected behavior?


Are you saying that the consumers don't reconnect after a broker restart?
Or are you describing a different problem?






--
View this message in context: http://activemq.2283324.n4.
nabble.com/Delete-Purge-Topic-tp4728932p4729735.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to