WillRetain message is published but is not retained
Expected behavior
WillRetain message should replace retained message in corresponding topic before/after publishing to subscribers.
Actual behavior
WillRetain message is published to subscribers, but doesn't replace retained message in corresponding topic.
Steps to reproduce
Client1 connects with WillRetain massage Client2 connects Client1 disconnects Client2 receives will-message Client2 reconnects Client2 receives old retained message, not will-message
Moquette MQTT version
rev. 08cc8ce + PR #561
JVM version (e.g. java -version)
1.8
@andsel I've reproduced this (quite old) issue. It still occurs on Moquette 0.17 and 0.18, using MQTT v3.1.1.
Steps to reproduce are the same as provided by @andrew-tpz.
Anything I can help you with?
Thank's @m-oben I noted it, I'll re-check and eventually come back to you