@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Import(value=IntegrationRegistrar.class) public @interface EnableIntegration
@Configuration
class to have
the imported Spring Integration configuration :
@Configuration @EnableIntegration @ComponentScan(basePackageClasses = { MyConfiguration.class }) public class MyIntegrationConfiguration { }