Hello everyone, I have a nodeJs backend that publishes messages to an activeMQ topic and I want to set up a time to live system on the "Session" topic in particular. I use the "stompit" library to send messages and I also have a subscriber to listen to a topic (the Session topic in my case). I've tried adding the "expires" header with 20000 milliseconds, and I've also tried adding the "<timedSubscriptionRecoveryPolicy recoverDuration="20000"/>" tag to my session topic in the activeMQ configuration file. However none of my solutions work, no matter how hard I try, as soon as a subscriber connects after the message has been sent it can't recover the message. Is the problem with the library I'm using? Or is there something else I'm missing?
Thanks for your help