Is Spring's built in Scheduler persistent.?

前端 未结 2 754
花落未央
花落未央 2021-01-02 09:36

I have run into a case where I have to use a persistent Scheduler, since I have a web application that can crash or close due to some problems and might los

2条回答
  •  别那么骄傲
    2021-01-02 09:44

    @Schedule has nothing to do with the actual executor. The default java executors aren't persistent (maybe there are some app-server specific ones that are), if you want persistence you have to use Quartz for job execution.

提交回复
热议问题