MQTT for offline update

I just started learning mqtt protocol and implemented a small application. In my application, I want messeges to be sent in a topic at a particular time, say at 12 AM and if the client is offline at that time the message will be discarded and it will try the same message to be sent to the same topic for another next two days. If the client is totally offline for consecutive three days messages will be permanently discarded. How do I implement this feature? I am using java. Thanks in advance and Happy New Year to everyone 😀

submitted by /u/Shaw_Kishor
[link] [comments]

Original article: MQTT for offline update
Author: /u/Shaw_Kishor