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,11 +18,13 @@ package io.spring;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.task.configuration.EnableTask;
/**
* @author Michael Minella
*/
@EnableTask
@SpringBootApplication
public class MultipleDataSourcesApplication {