@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Import(value=IntegrationRegistrar.class) public @interface EnableIntegration
BeanFactoryPostProcessor
s;
- Adds several BeanPostProcessor
s;
- Adds annotations processors.
Add this annotation to an @Configuration
class to have
the imported Spring Integration configuration :
@Configuration @EnableIntegration @ComponentScan(basePackageClasses = { MyConfiguration.class }) public class MyIntegrationConfiguration { }
IntegrationRegistrar