[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [paho-dev] Problem about use 'MqttCallBack.deliveryComplete()' method
|
Hi
I see you posted the same question to Stackoverflow as well.
I think the best people to answer it are likely to be Nick and Dave, and I don't know for sure but I suspect they may be on vacation this week - hopefully we can get an answer for you shortly though!
One thought though - are you using QoS 0? if so, according to the javadoc:
"
Quality of service 0 - indicates that a message should be delivered at most once (zero or one times). The message will not be persisted to disk, and will not be acknowledged across the network. This QoS is the fastest, but should only be used for messages which are not valuable - note that if the server cannot process the message (for example, there is an authorization problem), then an exception will not be thrown, nor will a call be made to MqttCallback#deliveryFailed(MqttDeliveryToken, MqttException)
or MqttCallback.deliveryComplete(MqttDeliveryToken)
. Also known as "fire and forget"."