Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] ​P​aho Java MQTT client behavior when publish invocation results in MqttException​.

For a stateful mqtt client(QOS >0), I have observed if 
​mqttC
lient.publish resulted in an MqttException
​ 
,the message is delivered to the mqtt  broker in some scenarios.
​In case of exception how I can determine whether a message is
​ (persisted for publishing/published) OR not
​ ?


Paho exception codes can be leveraged ?


- Nidhi 

Back to the top