Reputation: 1120
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