[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Retrying message sending in the Java implementation

Hi guys,

am I right saying that the Eclipse Paho Java implementation doesn't have a built in feature for retrying.

I mean, for example, if a QoS 1 packet is sent (and it's alive in the outbound qos1 queue) but the related PUBACK isn't received after a certain "timeout", the client doesn't resend the same PUBLISH packet with duplicate = true but it just continues to wait for the ack.

The re-send is active "only" in case the client goes down and the state is recovered from a persistent storage so the PUBLISH is re-sent.

Is that right ?


Thanks,


Paolo Patierno
Senior Software Engineer (IoT) @ Red Hat
Microsoft MVP on Windows Embedded & IoT
Microsoft Azure Advisor 

Twitter : @ppatierno
Linkedin : paolopatierno
Blog : DevExperience