Implementation of simple Alipay Asynchronous Notification interval

for business reasons, I want to implement a mechanism similar to Alipay payment callback. It is the mechanism to execute tasks on a regular basis for each order (1s, 10s, 1min, 15min, 15h, 2h, 6h, 15h). Do not use third-party message queues, etc., do you have any concise implementation ideas?

Apr.09,2021

DelayQueue learn about

Menu