Hello,
I have a doubt on broker behaviour when there is a message with QoS 2.
Suppose the following scenario...
1. publisher sends PUBLISH message with QoS 2 and messageId = X;
2. broker receives PUBLISH message, inserts it into a queue and then sends PUBREC to the publisher;
3. suppose that PUBREC is lost and it doesn't arrive to the publisher;
4. after a while, the publisher that doesn't see PUBREC from broker, resend PUBLISH message with QoS 2 and messageId = x and dupflag = true;
5. broker receives PUBLISH message but it already has this message in its queue..... (step 2)
How does the broker handle this type of scenario ?
Paolo.