Annotation Interface EnableIntegration


The main configuration annotation to enable Spring Integration infrastructure: - Registers some built-in beans; - Adds several BeanFactoryPostProcessors; - Adds several BeanPostProcessors; - 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 {
 }
 
Since:
4.0
Author:
Artem Bilan
See Also: