I would like to set up a topic or queue so that when a client connects to the broker and subscribes to that topic he receives a refresh of all the messages sent so far on that topic that day. At midnight the broker should purge the day's messages. What's the best way to do that?
Thanks, Andrew