Polish "Add database initializer for Spring Integration"
Closes gh-8881
This commit is contained in:
@@ -891,7 +891,7 @@ content into your application; rather pick only the properties that you need.
|
||||
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.initializer.enabled=false # Create the required integration tables on startup.
|
||||
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])
|
||||
|
||||
@@ -5118,9 +5118,13 @@ Integration is available on your classpath it will be initialized through the
|
||||
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.
|
||||
`'spring-integration-jdbc'` is available, the default database schema can be created
|
||||
on startup:
|
||||
|
||||
[source,properties,indent=0]
|
||||
----
|
||||
spring.integration.jdbc.initializer.enabled=true
|
||||
----
|
||||
|
||||
See the
|
||||
{sc-spring-boot-autoconfigure}/integration/IntegrationAutoConfiguration.{sc-ext}[`IntegrationAutoConfiguration`]
|
||||
|
||||
Reference in New Issue
Block a user