We want a rabbitmq message to be consumed by the queue after a certain delay that is in days for now but could in weeks or months in the future.
The exact scenario is:- we have a classified website where stock inserted by the user has to be deleted automatically after exactly 7 days. So, is it a good idea to publish rabbitmq message to delete the stock with a delay of 7 days. We want this to be deleted exactly after 7 days so nightly/hourly job to check stocks and delete them would not work.
I know its possible and read it here but Is using rabbitmq-scheduling correct for such scenarios? OR is there any other alternative to solve this?