疯狂的狮子Li
2024-03-14 abe6b05c5c1322eb28185a8354d02c72247f26b2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.dromara.common.job.config;
 
import com.aizuda.easy.retry.client.starter.EnableEasyRetry;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
 
/**
 * 启动定时任务
 *
 * @author dhb52
 * @since 2024/3/12
 */
@Configuration
@ConditionalOnProperty(prefix = "easy-retry", name = "enabled", havingValue = "true")
@EnableScheduling
@EnableEasyRetry(group = "${easy-retry.group-name}")
public class EasyRetryConfig {
}