Add database initializer for Spring Integration
See gh-8881
This commit is contained in:
committed by
Stephane Nicoll
parent
50b3b3025a
commit
48bc29c77a
@@ -890,6 +890,10 @@ content into your application; rather pick only the properties that you need.
|
||||
spring.batch.schema=classpath:org/springframework/batch/core/schema-@@platform@@.sql # Path to the SQL file to use to initialize the database schema.
|
||||
spring.batch.table-prefix= # Table prefix for all the batch meta-data tables.
|
||||
|
||||
# SPRING INTEGRATION ({sc-spring-boot-autoconfigure}/integration/IntegrationProperties.{sc-ext}[IntegrationProperties])
|
||||
spring.integration.jdbc.initializer.enabled=true # Create the required integration tables on startup if necessary.
|
||||
spring.integration.jdbc.schema=classpath:org/springframework/integration/jdbc/schema-@@platform@@.sql # Path to the SQL file to use to initialize the database schema.
|
||||
|
||||
# JMS ({sc-spring-boot-autoconfigure}/jms/JmsProperties.{sc-ext}[JmsProperties])
|
||||
spring.jms.jndi-name= # Connection factory JNDI name. When set, takes precedence to others connection factory auto-configurations.
|
||||
spring.jms.listener.acknowledge-mode= # Acknowledge mode of the container. By default, the listener is transacted with automatic acknowledgment.
|
||||
|
||||
@@ -5113,10 +5113,19 @@ Spring Boot offers several conveniences for working with Spring Integration, inc
|
||||
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. Message processing statistics will be published over JMX
|
||||
if `'spring-integration-jmx'` is also on the classpath. See 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 on the classpath default database schema will be
|
||||
initialized using `'IntegrationDatabaseInitializer'`, which can be further customized
|
||||
using configuration properties.
|
||||
|
||||
See the
|
||||
{sc-spring-boot-autoconfigure}/integration/IntegrationAutoConfiguration.{sc-ext}[`IntegrationAutoConfiguration`]
|
||||
class for more details.
|
||||
and {sc-spring-boot-autoconfigure}/integration/IntegrationProperties.{sc-ext}[`IntegrationProperties`]
|
||||
classes for more details.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user