Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 752 Bytes

File metadata and controls

8 lines (6 loc) · 752 Bytes

@IntegrationComponentScan

Reference: Spring Docs - IntegrationComponentScan

  • Used for classpath scanning
  • Plays a similar role to Spring Framework's @ComponentScan, but scans specific components or annotations that are not supported within the standard scope of Spring Framework's component mechanism
    • ex) @MessagingGateway
      • Interfaces are not scanned by the @ComponentScan annotation, and since @MessagingGateway is an interface, the @IntegrationComponentScan annotation is used to scan this annotation