Spring quartz의 life-cycle은 Spring과 별개의 level에서 동작하기에 spring context를 읽을 수 없다.
즉, Annotation 기반의 Dependency Injection이 안된다는 의미. (Job 한정인지 찾아보기)
이를 해결하기 위한 험난한 과정이 펼쳐지게 되는데.. (내용 추가 예정)
참고 링크
https://www.candidjava.com/spring-boot/quartz-example/
Spring boot quartz scheduler example | Candidjava
Spring boot quartz scheduler example offers several conveniences for working with the Quartz scheduler, including the spring-boot-starter-quartz “Starter.
www.candidjava.com
'Spring' 카테고리의 다른 글
Spring, @Component vs @Service (0) | 2021.07.16 |
---|---|
Spring eureka - auto scaling issue (0) | 2020.12.08 |