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
@ComponentScanannotation, and since@MessagingGatewayis an interface, the@IntegrationComponentScanannotation is used to scan this annotation
- Interfaces are not scanned by the
- ex) @MessagingGateway