plucury
plucury

Reputation: 1120

How to determine which message has been delivered use eclipse paho for MQTT client.

By using paho(java) to build my own MQTT client.I would like to do same actions when message is delivered.So I want to implement MqttCallBack and use deliveryComplete method.But I found that the MqttMessage in MqttDeliveryToken should be set to null once the message has been delivered.

so my question is that there is any way to determine which message has been sent.

Upvotes: 1

Views: 1243

Answers (1)

Related Questions