spring-cloud-task icon indicating copy to clipboard operation
spring-cloud-task copied to clipboard

taskBatchExecutionListener should not be added to the context if `@EnableTask` has been used.

Open mminella opened this issue 5 years ago • 0 comments

Currently, all SCT requires to turn on the task/batch functionality is the dependency on the classpath and there to be an instance of Job in the context. However, this means that if you are not even using @EnableTask, you still get the listener which is incorrect.

mminella avatar Mar 16 '20 20:03 mminella