Write a test gadget by yourself, add a link address, account and password, you can subscribe to your own published topics, the subscription mode is divided into two types, one is a persistent subscription, the other is a non-persistent subscription, and the software mode is a non-persistent subscription
I won't say much about the difference between persistent and non-persistent subscriptions, if you want to persist "subscription", you need to set the ClientId, so that the program is stopped during the run, and when the run is resumed, you can get the messages you didn't receive!
Source code download:
Tourists, if you want to see the hidden content of this post, please Reply
|