@IntegrationComponentScan

Reference: Spring Docs - IntegrationComponentScanarrow-up-right

  • 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) @MessagingGatewayarrow-up-right

      • Interfaces are not scanned by the @ComponentScan annotation, and since @MessagingGateway is an interface, the @IntegrationComponentScan annotation is used to scan this annotation

Last updated