paho.mqtt.java icon indicating copy to clipboard operation
paho.mqtt.java copied to clipboard

[Question] Usage of `MqttProperties.setResponseInfo` method

Open dilanSachi opened this issue 2 years ago • 0 comments

Please fill out the form below before submitting, thank you!

  • [ ] ~Bug exists Release Version 1.2.5 ( Master Branch)~
  • [ ] ~Bug exists in MQTTv3 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)~
  • [ ] ~Bug exists in MQTTv5 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)~

When considering about the Request/Response flow in MQTT5, there's a concept of Response Information [1] which can be used as the root of a topic tree for a particular Client. However, as I understood this is set from the MQTT broker rather than from the clients. If my understanding is correct, what is the use of the setResponseInfo method? If I am mistaken, can you guide me on the correct way of setting the reponse information using clients?

Thanks in advance.

[1] https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Response_Information

dilanSachi avatar Jul 12 '23 09:07 dilanSachi