40. Spring Integration

Spring Boot offers several conveniences for working with Spring Integration, including the spring-boot-starter-integration ‘Starter’. Spring Integration provides abstractions over messaging and also other transports such as HTTP, TCP etc. If Spring Integration is available on your classpath it will be initialized through the @EnableIntegration annotation.

Spring Boot will also configure some features that are triggered by the presence of additional Spring Integration modules. Message processing statistics will be published over JMX if 'spring-integration-jmx' is also on the classpath. If 'spring-integration-jdbc' is available, the default database schema can be created on startup:

spring.integration.jdbc.initializer.enabled=true

See the IntegrationAutoConfiguration and IntegrationProperties classes for more details.