prem
prem

Reputation: 61

how to know the subscribed topics in mqtt

I am currently using apollo broker and a java program to connect to that broker and subscribe to some topics but before subscribing I want to check what are the topics that I have already subscribed in my previous connections.

Is there some way to do it in java and if yes how and using which library?

Upvotes: 0

Views: 1040

Answers (1)

hardillb
hardillb

Reputation: 59608

No, it is up to the application to keep track of what topics it has subscribed to.

Upvotes: 1

Related Questions