Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 611 Bytes

10_EnableIntegration.md

File metadata and controls

7 lines (5 loc) · 611 Bytes

@EnableIntegration

Reference: Spring Docs - Configuration and @EnableIntegration

  • Class path에 Spring Integration이 있으면, @EnableIntegration annotation을 통해 초기화된다
  • @EnableIntegration 을 사용하여 Spring Integration Component가 없는 부모 context를 가졌거나 Spring Integration을 사용하는 2개 이상의 자식 context를 가졌을때, 부모 context에서 한 번만 선언되어야 할 공통 component를 사용할 수 있게 해준다