Skip to main content

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

Ciao Paolo,

  Last time I've checked, message delivery retry was not implemented by Paho and there is no consensus on wheter it should be.

If you have time you may want to read this long thread [1].


Ciao,

  Cristiano


[1] https://dev.eclipse.org/mhonarc/lists/paho-dev/msg03431.html



Da: paho-dev-bounces@xxxxxxxxxxx <paho-dev-bounces@xxxxxxxxxxx> per conto di Paolo Patierno <ppatierno@xxxxxxxx>
Inviato: martedì 8 agosto 2017 17:20:09
A: General development discussions for paho project
Oggetto: [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

Back to the top