Commit 22b1277e by fanjiaxin

新加入调度配置

parent 0dd40ce5
Pipeline #75734 passed with stages
in 1 minute 15 seconds
package com.netease.yanxuan.wx.store.sharer.common.config;
import com.netease.mail.yanxuan.dschedule.core.executor.DscheduleExecutor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @Description Dschedule配置
* @Author fanjiaxin
* @Date 2025/2/21 14:40
*/
@Configuration
public class DscheduleConfig {
/**
* dschedule执行器
*/
@Bean(value = "dscheduleExecutor", initMethod = "start", destroyMethod = "destroy")
public DscheduleExecutor dscheduleExecutor() {
return new DscheduleExecutor();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment