Retryable

This commit is contained in:
joshen@zcwytd.com
2023-11-29 13:23:19 +08:00
parent ba1a96ce8f
commit a308f1d94e
3 changed files with 18 additions and 2 deletions

View File

@@ -4,6 +4,8 @@ import java.io.File;
import java.io.IOException;
import javax.annotation.PostConstruct;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -15,6 +17,7 @@ import org.springframework.context.annotation.Configuration;
@SpringBootApplication
@EnableCaching
@EnableAsync
@EnableRetry
public class BoeServerAllApplication {
public static void main(String[] args) {