Established @EnableTask to create instance of TaskLifecycle Bean

resolves #494
This commit is contained in:
Glenn Renfro
2018-12-10 14:41:27 -05:00
parent b4b50e8182
commit 30399dbb57
20 changed files with 151 additions and 33 deletions

View File

@@ -18,7 +18,9 @@ package io.spring;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.task.configuration.EnableTask;
@EnableTask
@SpringBootApplication
@EnableBatchProcessing
public class BatchJobApplication {