Appendix C. Configuration properties
Although Spring Boot handles a lot of the grunt work when it comes to configuring the components in your application, you
may want to fine-tune some of those components. That’s where configuration properties come in handy.
Chapter 3 describes the @ConfigurationProperties annotation and how it can be used to expose properties that you can configure external to application code. Just as you can
use @ConfigurationProperties in components that you create, many of Spring Boot’s auto-configured components are also annotated with @ConfigurationProperties, making it possible to configure them via any supported property source.
For example, to specify the port that an embedded Tomcat or Jetty server should listen for requests on, you can set the server.port property. This can be set as a property in application.properties, in application.yml, in an operating system environment
variable, or any of the other options listed in section 3.2.
This appendix lists all of the configuration properties offered by Spring Boot components. Note that the applicability of
these properties is dependent upon the component being declared as a bean in the Spring application context (most likely by
way of auto-configuration). Setting a property for an inactive component will have no effect.
- flyway.baseline-description
The description to tag an existing schema with when executing baseline.
- flyway.baseline-on-migrate
Whether to automatically call baseline when migrate is executed against a nonempty schema with no metadata table. (Default
value: false)
- flyway.baseline-version
Sets the version to tag an existing schema with when executing baseline. (Default value: 1)
- flyway.check-location
Check that migration scripts location exists. (Default value: false)
- flyway.clean-on-validation-error
Whether to automatically call clean or not when a validation error occurs. (Default value: false)
- flyway.enabled
Enable flyway. (Default value: true)
- flyway.encoding
Sets the SQL migration encoding. (Default value: UTF-8)
- flyway.ignore-failed-future-migration
Whether to ignore failed future migrations when reading the metadata table. (Default value: false)
- flyway.init-sqls
SQL statements to execute to initialize a connection immediately after obtaining it.
- flyway.locations
Locations of migrations scripts. (Default value: db/migration)
- flyway.out-of-order
Whether or not “out of order” migrations are allowed. (Default value: false)
- flyway.password
Login password of the database to migrate.
- flyway.placeholder-prefix
Sets the prefix of every placeholder. (Default value: ${)
- flyway.placeholder-replacement
Whether placeholders should be replaced. (Default value: true)
- flyway.placeholder-suffix
Sets the prefix of every placeholder. (Default value: ${)
- flyway.placeholders.[placeholder name]
Sets a placeholder value.
- flyway.schemas
A case-sensitive list of schemes managed by Flyway. Defaults to the default schema of the connection.
- flyway.sql-migration-prefix
The filename prefix for SQL migrations. (Default value: V)
- flyway.sql-migration-separator
The filename separator for SQL migrations. (Default value: __)
- flyway.sql-migration-suffix
The filename suffix for SQL migrations. (Default value: .sql)
- flyway.table
The name of the schema metadata table to be used by Flyway. (Default value: schema_version)
- flyway.target
The target version up to which Flyway should consider migrations. (Defaults to the latest version)
- flyway.url
JDBC URL of the database to migrate. If not set, the primary configured data source is used.
- flyway.user
Login user of the database to migrate.
- flyway.validate-on-migrate
Whether to automatically validate when running migrate. (Default value: true)
- liquibase.change-log
Change log configuration path. (Default value: classpath:/db/changelog/db.changelog-master.yaml)
- liquibase.check-change-log-location
Check that the change log location exists. (Default value: true)
- liquibase.contexts
Comma-separated list of runtime contexts to use.
- liquibase.default-schema
Default database schema.
- liquibase.drop-first
Drop the database schema first. (Default value: false)
- liquibase.enabled
Enable Liquibase support. (Default value: true)
- liquibase.password
Login password of the database to migrate.
- liquibase.url
JDBC URL of the database to migrate. If not set, the primary configured data source is used.
- liquibase.user
Login user of the database to migrate.
- multipart.enabled
Enable support of multi-part uploads. (Default value: true)
- multipart.file-size-threshold
Threshold after which files will be written to disk. Values can use the suffixes “MB” or “KB” to indicate a megabyte or kilobyte
size. (Default value: 0)
- multipart.location
Intermediate location of uploaded files.
- multipart.max-file-size
Max file size. Values can use the suffixes “MB” or “KB” to indicate a megabyte or kilobyte size. (Default value: 1MB)
- multipart.max-request-size
Max request size. Values can use the suffixes “MB” or “KB” to indicate a megabyte or kilobyte size. (Default value: 10MB)
- security.basic.authorize-mode
Security authorize mode to apply.
- security.basic.enabled
Enable basic authentication. (Default value: true)
- security.basic.path
Comma-separated list of paths to secure. (Default value: [/**])
- security.basic.realm
HTTP basic realm name. (Default value: Spring)
- security.enable-csrf
Enable cross-site request forgery support. (Default value: false)
- security.filter-order
Security filter chain order. (Default value: 0)
- security.headers.cache
Enable cache control HTTP headers. (Default value: false)
- security.headers.content-type
Enable X-Content-Type-Options header. (Default value: false)
- security.headers.frame
Enable X-Frame-Options header. (Default value: false)
- security.headers.hsts
HTTP Strict Transport Security (HSTS) mode (none, domain, all).
- security.headers.xss
Enable cross-site scripting (XSS) protection. (Default value: false)
- security.ignored
Comma-separated list of paths to exclude from the default secured paths.
- security.oauth2.client.access-token-uri
The URI used to fetch an access token.
- security.oauth2.client.access-token-validity-seconds
How long an access token is to be valid before expiring.
- security.oauth2.client.additional-information.[key]
Set additional information that token granters would like to add to the token.
- security.oauth2.client.authentication-scheme
The method for transmitting the bearer token. One of form, header, none, or query. (Default value: header)
- security.oauth2.client.authorities
The authorities to be granted to an authenticated client.
- security.oauth2.client.authorized-grant-types
The grant types allowed to the client.
- security.oauth2.client.auto-approve-scopes
The scope to automatically approve for a client.
- security.oauth2.client.client-authentication-scheme
The method for transmitting authentication credentials when authenticating the client. One of form, header, none, or query. (Default value: header)
- security.oauth2.client.client-id
OAuth2 client ID.
- security.oauth2.client.client-secret
OAuth2 client secret. A random secret is generated by default.
- security.oauth2.client.grant-type
The grant type for obtaining an access token for this resource.
- security.oauth2.client.id
The application’s client ID.
- security.oauth2.client.pre-established-redirect-uri
The redirect URI that has been pre-established with the server. If present, the redirect URI will be omitted from the user
authorization request because the server doesn’t need to know it.
- security.oauth2.client.refresh-token-validity-seconds
How long a refresh token will be valid before expiring.
- security.oauth2.client.registered-redirect-uri
Comma-separated list of redirect URIs registered for the client.
- security.oauth2.client.resource-ids
Comma-separated list of resource IDs associated with the client.
- security.oauth2.client.scope
Scope assigned to the client.
- security.oauth2.client.token-name
The token name.
- security.oauth2.client.use-current-uri
Whether the current URI (if set) in the request should be used in preference to the pre-established redirect URI. (Default
value: true)
- security.oauth2.client.user-authorization-uri
The URI to which the user is to be redirected to authorize an access token.
- security.oauth2.resource.id
Identifier of the resource.
- security.oauth2.resource.jwt.key-uri
The URI of the JWT token. Can be set if the value is not available and the key is public.
- security.oauth2.resource.jwt.key-value
The verification key of the JWT token. Can either be a symmetric secret or PEM-encoded RSA public key. If the value is not
available, you can set the URI instead.
- security.oauth2.resource.prefer-token-info
Use the token info; can be set to false to use the user info. (Default value: true)
- security.oauth2.resource.service-id
The service ID. (Default value: resource)
- security.oauth2.resource.token-info-uri
URI of the token decoding endpoint.
- security.oauth2.resource.token-type
The token type to send when using the userInfoUri.
- security.oauth2.resource.user-info-uri
URI of the user endpoint.
- security.oauth2.sso.filter-order
Filter order to apply if not providing an explicit WebSecurityConfigurerAdapter (otherwise the order can be provided there instead).
- security.oauth2.sso.login-path
Path to the login page—the page that triggers the redirect to the OAuth2 Authorization Server. (Default value: /login)
- security.require-ssl
Enable secure channel for all requests. (Default value: false)
- security.sessions
Session creation policy. (Default values: always, never, if_required, stateless).
- security.user.name
Default user name. (Default value: user)
- security.user.password
Password for the default user name.
- security.user.role
Granted roles for the default user name.
- server.address
Network address to which the server should bind.
- server.compression.enabled
Whether or not compression should be enabled. (Default value: false)
- server.compression.excluded-user-agents
Comma-separated list of user agents for which responses should not be compressed. (Default values: text/html,text/xml,text/plain,text/css)
- server.compression.mime-types
Comma-separated list of MIME types that should be compressed.
- server.compression.min-response-size
Minimum response size (in bytes) that is required for compression to be performed. (Default value: 2048)
- server.context-parameters.[param name]
Sets a servlet context parameter.
- server.context-path
Context path of the application.
- server.display-name
Display name of the application. (Default value: application)
- server.jsp-servlet.class-name
The class name of the servlet to use for JSPs. (Default value: org.apache.jasper.servlet.JspServlet)
- server.jsp-servlet.init-parameters.[param name]
Sets a JSP servlet initialization parameter.
- server.jsp-servlet.registered
Whether or not the JSP servlet should be registered with the embedded servlet container. (Default value: true)
- server.port
Server HTTP port.
- server.servlet-path
Path of the main dispatcher servlet. (Default value: /)
- server.session.cookie.comment
Comment for the session cookie.
- server.session.cookie.domain
Domain for the session cookie.
- server.session.cookie.http-only
HttpOnly flag for the session cookie.
- server.session.cookie.max-age
Maximum age of the session cookie in seconds.
- server.session.cookie.name
Session cookie name.
- server.session.cookie.path
Path of the session cookie.
- server.session.cookie.secure
“Secure” flag for the session cookie.
- server.session.persistent
Persist session data between restarts. (Default value: false)
- server.session.timeout
Session timeout in seconds.
- server.session.tracking-modes
Session tracking modes (one or more of the following: cookie, url, ssl).
- server.ssl.ciphers
Supported SSL ciphers.
- server.ssl.client-auth
Whether client authentication is wanted (want) or needed (need). Requires a trust store.
- server.ssl.enabled
Whether SSL is enabled or not. (Default value: true)
- server.ssl.key-alias
Alias that identifies the key in the key store.
- server.ssl.key-password
Password used to access the key in the key store.
- server.ssl.key-store
Path to the key store that holds the SSL certificate (typically a .jks file).
- server.ssl.key-store-password
Password used to access the key store.
- server.ssl.key-store-provider
Provider for the key store.
- server.ssl.key-store-type
Type of the key store.
- server.ssl.protocol
SSL protocol to use. (Default value: TLS)
- server.ssl.trust-store
Trust store that holds SSL certificates.
- server.ssl.trust-store-password
Password used to access the trust store.
- server.ssl.trust-store-provider
Provider for the trust store.
- server.ssl.trust-store-type
Type of the trust store.
- server.tomcat.access-log-enabled
Whether or not the access log is enabled. (Default value: false)
- server.tomcat.access-log-pattern
Format pattern for access logs. (Default value: common)
- server.tomcat.accesslog.directory
Directory in which log files are created. Can be relative to the tomcat base dir or absolute. (Default value: logs)
- server.tomcat.accesslog.enabled
Enable access log. (Default value: false)
- server.tomcat.accesslog.pattern
Format pattern for access logs. (Default value: common)
- server.tomcat.accesslog.prefix
Log filename prefix. (Default value: access_log)
- server.tomcat.accesslog.suffix
Log filename suffix. (Default value: .log)
- server.tomcat.background-processor-delay
Delay in seconds between the invocation of backgroundProcess methods. (Default value: 30)
- server.tomcat.basedir
Tomcat base directory. If not specified, a temporary directory will be used.
- server.tomcat.internal-proxies
Regular expression that matches proxies that are to be trusted. Default: “10.d{1,3}.d{1,3}.d{1,3}| 192.168.d{1,3}.d{1,3}|
169.254.d{1,3}.d{1,3}| 127 .d{1,3}.d{1,3}.d{1,3}| 172.1[6-9]{1}.d{1,3}.d{1,3}| 172.2[0-9]{1}.d{1,3}.d{1,3}|
172.3[0-1]{1}.d{1,3}.d{1,3}”
- server.tomcat.max-http-header-size
Maximum size in bytes of the HTTP message header. (Default value: 0)
- server.tomcat.max-threads
Maximum number of worker threads. (Default value: 0)
- server.tomcat.port-header
Name of the HTTP header used to override the original port value.
- server.tomcat.protocol-header
Header that holds the incoming protocol, usually named X-Forwarded-Proto. Configured as a RemoteIpValve only if remoteIpHeader is also set.
- server.tomcat.protocol-header-https-value
Value of the protocol header that indicates that the incoming request uses SSL. (Default value: https)
- server.tomcat.remote-ip-header
Name of the HTTP header from which the remote IP is extracted. Configured as a RemoteIpValve only if remoteIpHeader is also set.
- server.tomcat.uri-encoding
Character encoding to use to decode the URI.
- server.undertow.access-log-dir
Undertow access log directory. (Default value: logs)
- server.undertow.access-log-enabled
Whether or not the access log is enabled. (Default value: false)
- server.undertow.access-log-pattern
Format pattern for access logs. (Default value: common)
- server.undertow.accesslog.dir
Undertow access log directory.
- server.undertow.accesslog.enabled
Enable access log. (Default value: false)
- server.undertow.accesslog.pattern
Format pattern for access logs. (Default value: common)
- server.undertow.buffer-size
Size of each buffer in bytes.
- server.undertow.buffers-per-region
Number of buffers per region.
- server.undertow.direct-buffers
Allocate buffers outside the Java heap.
- server.undertow.io-threads
Number of I/O threads to create for the worker.
- server.undertow.worker-threads
Number of worker threads.
- spring.activemq.broker-url
URL of the ActiveMQ broker. Auto-generated by default.
- spring.activemq.in-memory
Specify if the default broker URL should be in memory. Ignored if an explicit broker has been specified. (Default value: true)
- spring.activemq.password
Login password of the broker.
- spring.activemq.pooled
Specify if a PooledConnectionFactory should be created instead of a regular ConnectionFactory. (Default value: false)
- spring.activemq.user
Login user of the broker.
- spring.aop.auto
Add @EnableAspectJAutoProxy. (Default value: true)
- spring.aop.proxy-target-class
Whether subclass-based (CGLIB) proxies are to be created (true) as opposed to standard Java interface-based proxies (false). (Default value: false)
- spring.application.admin.enabled
Enable admin features for the application. (Default value: false)
- spring.application.admin.jmx-name
JMX name of the application admin MBean. (Default value: org.springframework.boot:type=Admin,name=SpringApplication)
- spring.artemis.embedded.cluster-password
Cluster password. Randomly generated on startup by default.
- spring.artemis.embedded.data-directory
Journal file directory. Not necessary if persistence is turned off.
- spring.artemis.embedded.enabled
Enable embedded mode if the Artemis server APIs are available. (Default value: true)
- spring.artemis.embedded.persistent
Enable persistent store. (Default value: false)
- spring.artemis.embedded.queues
Comma-separated list of queues to create on startup. (Default value: [])
- spring.artemis.embedded.server-id
Server ID. By default, an auto-incremented counter is used. (Default value: 0)
- spring.artemis.embedded.topics
Comma-separated list of topics to create on startup. (Default value: [])
- spring.artemis.host
Artemis broker host. (Default value: localhost)
- spring.artemis.mode
Artemis deployment mode, auto-detected by default. Can be explicitly set to native or embedded.
- spring.artemis.port
Artemis broker port. (Default value: 61616)
- spring.autoconfigure.exclude
Auto-configuration classes to exclude.
- spring.batch.initializer.enabled
Create the required batch tables on startup if necessary. (Default value: true)
- spring.batch.job.enabled
Execute all Spring Batch jobs in the context on startup. (Default value: true)
- spring.batch.job.names
Comma-separated list of job names to execute on startup. By default, all jobs found in the context are executed.
- spring.batch.schema
Path to the SQL file to use to initialize the database schema. (Default value: classpath:org/springframework/batch/core/schema-@@platform@@.sql)
- spring.batch.table-prefix
Table prefix for all the batch metadata tables.
- spring.cache.cache-names
Comma-separated list of cache names to create if supported by the underlying cache manager. Usually this disables the ability
to create additional caches on the fly.
- spring.cache.ehcache.config
The location of the configuration file to use to initialize EhCache.
- spring.cache.guava.spec
The spec to use to create caches. Check CacheBuilderSpec for more details on the spec format.
- spring.cache.hazelcast.config
The location of the configuration file to use to initialize Hazelcast.
- spring.cache.infinispan.config
The location of the configuration file to use to initialize Infinispan.
- spring.cache.jcache.config
The location of the configuration file to use to initialize the cache manager. The configuration file is dependent on the
underlying cache implementation.
- spring.cache.jcache.provider
Fully qualified name of the CachingProvider implementation to use to retrieve the JSR-107 compliant cache manager. Only needed
if more than one JSR-107 implementation is available on the classpath.
- spring.cache.type
Cache type, auto-detected according to the environment by default.
- spring.dao.exceptiontranslation.enabled
Enable the PersistenceExceptionTranslationPostProcessor. (Default value: true)
- spring.data.elasticsearch.cluster-name
Elasticsearch cluster name. (Default value: elasticsearch)
- spring.data.elasticsearch.cluster-nodes
Comma-separated list of cluster node addresses. If not specified, starts a client node.
- spring.data.elasticsearch.properties
Additional properties used to configure the client.
- spring.data.elasticsearch.repositories.enabled
Enable Elasticsearch repositories. (Default value: true)
- spring.data.jpa.repositories.enabled
Enable JPA repositories. (Default value: true)
- spring.data.mongodb.authentication-database
Authentication database name.
- spring.data.mongodb.database
Database name.
- spring.data.mongodb.field-naming-strategy
Fully qualified name of the FieldNamingStrategy to use.
- spring.data.mongodb.grid-fs-database
GridFS database name.
- spring.data.mongodb.host
Mongo server host.
- spring.data.mongodb.password
Login password of the Mongo server.
- spring.data.mongodb.port
Mongo server port.
- spring.data.mongodb.repositories.enabled
Enable Mongo repositories. (Default value: true)
- spring.data.mongodb.uri
Mongo database URI. When set, the host and port are ignored. (Default value: mongodb://localhost/test)
- spring.data.mongodb.username
Login user of the Mongo server.
- spring.data.rest.base-path
The base path to expose repository resources under.
- spring.data.rest.default-page-size
The default size of a page in paged data. (Default value: 20)
- spring.data.rest.limit-param-name
The name of the URL query string parameter that indicates how many results to return at once. (Default value: size)
- spring.data.rest.max-page-size
The maximum size of pages. (Default value: 1000)
- spring.data.rest.page-param-name
The name of the URL query string parameter that indicates what page to return. (Default value: page)
- spring.data.rest.return-body-on-create
Whether to return a response body after creating an entity. (Default value: false)
- spring.data.rest.return-body-on-update
Whether to return a response body after updating an entity. (Default value: false)
- spring.data.rest.sort-param-name
The name of the URL query string parameter that indicates what direction to sort results. (Default value: sort)
- spring.data.solr.host
Solr host. Ignored if zk-host is set. (Default value: http://127.0.0.1:8983/solr)
- spring.data.solr.repositories.enabled
Enable Solr repositories. (Default value: true)
- spring.data.solr.zk-host
ZooKeeper host address in the form HOST:PORT.
- spring.datasource.abandon-when-percentage-full
The percentage threshold above which connections that have been abandoned (timed out) will be closed and reported.
- spring.datasource.allow-pool-suspension
Whether or not pool suspension is allowed. There is a performance impact when pool suspension is enabled. Unless you need
it (for a redundancy system, for example) do not enable it. This property only applies when using the Hikari data pool. (Default
value: false)
- spring.datasource.alternate-username-allowed
Whether or not an alternate username is allowed.
- spring.datasource.auto-commit
Whether or not updates are auto-committed.
- spring.datasource.catalog
The default catalog name.
- spring.datasource.commit-on-return
Whether or not the connection pool should commit any pending transaction when a connection is returned.
- spring.datasource.connection-init-sql
A SQL string that will be executed on all new connections when they are created, before they are added to the connection pool.
- spring.datasource.connection-init-sqls
A list of SQL statements to be executed when a physical connection is first created. (For use with the DBCP connection pool.)
- spring.datasource.connection-properties.[key]
Sets a property to be used when creating a connection. (For the DBCP connection pool.)
- spring.datasource.connection-test-query
A SQL query to be executed to test the validity of connections.
- spring.datasource.connection-timeout
The connection timeout (in milliseconds).
- spring.datasource.continue-on-error
Do not stop if an error occurs while initializing the database. (Default value: false)
- spring.datasource.data
Data (DML) script resource reference.
- spring.datasource.data-source-class-name
The fully qualified class name of the data source to use to get connections.
- spring.datasource.data-source-jndi
The JNDI location of the data source to use to get connections.
- spring.datasource.data-source-properties.[key]
Sets a property to be used when creating the data source. (For the Hikari connection pool.)
- spring.datasource.db-properties
Sets a property to be used when creating the data source. (For the Tomcat connection pool.)
- spring.datasource.default-auto-commit
Whether or not to auto-commit on connections.
- spring.datasource.default-catalog
The default catalog for connections.
- spring.datasource.default-read-only
The default read-only state for connections.
- spring.datasource.default-transaction-isolation
The default transaction isolation for connections.
- spring.datasource.driver-class-name
Fully qualified name of the JDBC driver. Auto-detected based on the URL by default.
- spring.datasource.fair-queue
Whether or not to return connections in a FIFO fashion.
- spring.datasource.health-check-properties.[key]
Sets a property to be included in the health check. (For the Hikari connection pool.)
- spring.datasource.idle-timeout
The maximum amount of time (in milliseconds) that a connection is allowed to sit idle in the pool. (Default value: 10)
- spring.datasource.ignore-exception-on-pre-load
Whether or not to ignore connections while initializing the datasource pool.
- spring.datasource.init-sql
A custom query to run when a connection is first created.
- spring.datasource.initial-size
The number of connections that will be established when the connection pool is started.
- spring.datasource.initialization-fail-fast
Whether or not the construction of the pool should throw an exception if the minimum number of connections cannot be created.
(Default value: true)
- spring.datasource.initialize
Populate the database using data.sql. (Default value: true)
- spring.datasource.isolate-internal-queries
Whether internal queries should be isolated. (Default value: false)
- spring.datasource.jdbc-interceptors
A semicolon-separated list of classnames extending the JdbcInterceptor class. These interceptors will be inserted as an interceptor into the chain of operations on a java.sql.Connection object. (For the Tomcat connection pool.)
- spring.datasource.jdbc-url
The JDBC URL to create connections with.
- spring.datasource.jmx-enabled
Enable JMX support (if provided by the underlying pool). (Default value: false)
- spring.datasource.jndi-name
JNDI location of the datasource. Class, URL, username, and password are ignored when set.
- spring.datasource.leak-detection-threshold
The threshold, in milliseconds, for detecting connection leaks with the Hikari connection pool.
- spring.datasource.log-abandoned
Whether to log stack traces for application code that abandoned a statement or connection. For use with the DBCP connection
pool. (Default value: false)
- spring.datasource.log-validation-errors
Whether validation errors should be logged when using the Tomcat connection pool.
- spring.datasource.login-timeout
The timeout (in seconds) for connecting to the database.
- spring.datasource.max-active
The maximum number of active connections in the connection pool.
- spring.datasource.max-age
The maximum age of a connection in the connection pool.
- spring.datasource.max-idle
The maximum number of idle connections in the connection pool.
- spring.datasource.max-lifetime
The maximum lifetime (in milliseconds) of a connection in the connection pool.
- spring.datasource.max-open-prepared-statements
The maximum number of open prepared statements.
- spring.datasource.max-wait
The maximum number of milliseconds that the pool will wait for a connection to be returned before throwing an exception.
- spring.datasource.maximum-pool-size
The maximum size that the pool is allowed to reach, including both idle and in-use connections.
- spring.datasource.min-evictable-idle-time-millis
The minimum amount of time an object may sit idle in the pool before it is eligible for eviction by the idle object evictor
(if any).
- spring.datasource.min-idle
The minimum number of established connections that should be kept in the pool at all times. (For DBCP and Tomcat connection
pools.)
- spring.datasource.minimum-idle
The minimum number of idle connections that HikariCP tries to maintain in the pool.
- spring.datasource.name
The datasource name.
- spring.datasource.num-tests-per-eviction-run
The number of objects to examine during each run of the idle object evictor thread (if any).
- spring.datasource.password
Login password of the database.
- spring.datasource.platform
Platform to use in the schema resource (schema-${platform}.sql). (Default value: all)
- spring.datasource.pool-name
The connection pool name.
- spring.datasource.pool-prepared-statements
Whether to pool statements or not.
- spring.datasource.propagate-interrupt-state
Whether to propagate interrupt state for interrupted threads waiting for a connection.
- spring.datasource.read-only
Set a datasource as read-only when using the Hikari connection pool.
- spring.datasource.register-mbeans
Whether or not the Hikari connection pool should register JMX MBeans.
- spring.datasource.remove-abandoned
Whether abandoned connections should be removed if they exceed the abandoned timeout.
- spring.datasource.remove-abandoned-timeout
The time in seconds before a connection can be considered abandoned.
- spring.datasource.rollback-on-return
Whether any pending transactions should be rolled back when a connection is returned to the pool.
- spring.datasource.schema
Schema (DDL) script resource reference.
- spring.datasource.separator
Statement separator in SQL initialization scripts. (Default value: ;)
- spring.datasource.sql-script-encoding
SQL scripts encoding.
- spring.datasource.suspect-timeout
How long in seconds before logging a suspected abandoned connection.
- spring.datasource.test-on-borrow
Whether a connection should be tested upon being borrowed from the connection pool.
- spring.datasource.test-on-connect
Whether a connection should be tested upon creation.
- spring.datasource.test-on-return
Whether a connection should be tested upon return to the connection pool.
- spring.datasource.test-while-idle
Whether a connection should be tested while idle.
- spring.datasource.time-between-eviction-runs-millis
The number of milliseconds to sleep between runs of the idle connection validation, abandoned cleaner, and idle pool resizing.
- spring.datasource.transaction-isolation
Set the default transaction isolation level when using the Hikari connection pool.
- spring.datasource.url
JDBC URL of the database.
- spring.datasource.use-disposable-connection-facade
Whether the connection will be wrapped with a facade that will disallow the connection to be used after Connection.close() is called.
- spring.datasource.use-equals
Whether to use String.equals() instead of == when comparing method names.
- spring.datasource.use-lock
Whether a lock should be used when operations are performed on the connection object.
- spring.datasource.username
Login user of the database.
- spring.datasource.validation-interval
How often, in milliseconds, to run connection validation.
- spring.datasource.validation-query
The SQL query that will be used to validate connections from this pool before returning them to the caller or pool.
- spring.datasource.validation-query-timeout
The timeout in seconds before a connection validation query fails.
- spring.datasource.validation-timeout
The timeout in seconds before a connection validation fails. (For use with the Hikari connection pool.)
- spring.datasource.validator-class-name
The fully qualified class name for an optional validator class that will be used in place of test queries.
- spring.datasource.xa.data-source-class-name
XA datasource fully qualified name.
- spring.datasource.xa.properties
Properties to pass to the XA data source.
- spring.freemarker.allow-request-override
Set whether HttpServletRequest attributes are allowed to override (hide) controller-generated model attributes of the same name.
- spring.freemarker.allow-session-override
Set whether HttpSession attributes are allowed to override (hide) controller-generated model attributes of the same name.
- spring.freemarker.cache
Enable template caching.
- spring.freemarker.charset
Template encoding.
- spring.freemarker.check-template-location
Check that the templates location exists.
- spring.freemarker.content-type
Content-Type value.
- spring.freemarker.enabled
Enable MVC view resolution for this technology.
- spring.freemarker.expose-request-attributes
Set whether all request attributes should be added to the model prior to merging with the template.
- spring.freemarker.expose-session-attributes
Set whether all HttpSession attributes should be added to the model prior to merging with the template.
- spring.freemarker.expose-spring-macro-helpers
Set whether to expose a RequestContext for use by Spring’s macro library, under the name springMacroRequestContext.
- spring.freemarker.prefer-file-system-access
Prefer filesystem access for template loading. Filesystem access enables hot detection of template changes. (Default value:
true)
- spring.freemarker.prefix
Prefix that gets prepended to view names when building a URL.
- spring.freemarker.request-context-attribute
Name of the RequestContext attribute for all views.
- spring.freemarker.settings
Well-known FreeMarker keys that will be passed to FreeMarker’s configuration.
- spring.freemarker.suffix
Suffix that gets appended to view names when building a URL.
- spring.freemarker.template-loader-path
Comma-separated list of template paths. (Default value: ["classpath:/templates/"])
- spring.freemarker.view-names
Whitelist of view names that can be resolved.
- spring.groovy.template.allow-request-override
Set whether HttpServletRequest attributes are allowed to override (hide) controller-generated model attributes of the same name.
- spring.groovy.template.allow-session-override
Set whether HttpSession attributes are allowed to override (hide) controller-generated model attributes of the same name.
- spring.groovy.template.cache
Enable template caching.
- spring.groovy.template.charset
Template encoding.
- spring.groovy.template.check-template-location
Check that the templates location exists.
- spring.groovy.template.configuration.auto-escape
Whether or not model variables are escaped when rendered in the template. (Default value: false)
- spring.groovy.template.configuration.auto-indent
Whether or not the template renders indentation automatically. (Default value: false)
- spring.groovy.template.configuration.auto-indent-string
The string used for indentation when auto-indentation is enabled. Either SPACES or TAB. (Default value: SPACES)
- spring.groovy.template.configuration.auto-new-line
Whether or not new lines should be rendered by the template. (Default value: false)
- spring.groovy.template.configuration.base-template-class
The template base class.
- spring.groovy.template.configuration.cache-templates
Whether or not templates should be cached. (Default value: true)
- spring.groovy.template.configuration.declaration-encoding
The encoding used to write the declaration header.
- spring.groovy.template.configuration.expand-empty-elements
Whether elements without a body should be written in the short form (e.g., <br/>) or expanded form (e.g., <br></br>). (Default value: false)
- spring.groovy.template.configuration.locale
Set the template locale.
- spring.groovy.template.configuration.new-line-string
The string to render for a new line when auto-newlines are enabled. (Default is the value of the system’s line.separator property)
- spring.groovy.template.configuration.resource-loader-path
The path to the Groovy templates. (Default value: classpath:/templates/)
- spring.groovy.template.configuration.use-double-quotes
Whether attributes should use double quotes or single quotes. (Default value: false)
- spring.groovy.template.content-type
Content-Type value.
- spring.groovy.template.enabled
Enable MVC view resolution for this technology.
- spring.groovy.template.expose-request-attributes
Set whether all request attributes should be added to the model prior to merging with the template.
- spring.groovy.template.expose-session-attributes
Set whether all HttpSession attributes should be added to the model prior to merging with the template.
- spring.groovy.template.expose-spring-macro-helpers
Set whether to expose a RequestContext for use by Spring’s macro library, under the name springMacroRequestContext.
- spring.groovy.template.prefix
Prefix that gets prepended to view names when building a URL.
- spring.groovy.template.request-context-attribute
Name of the RequestContext attribute for all views.
- spring.groovy.template.resource-loader-path
Template path. (Default value: classpath:/templates/)
- spring.groovy.template.suffix
Suffix that gets appended to view names when building a URL.
- spring.groovy.template.view-names
Whitelist of view names that can be resolved.
- spring.h2.console.enabled
Enable the console. (Default value: false)
- spring.h2.console.path
Path at which the console will be available. (Default value: /h2-console)
- spring.hateoas.apply-to-primary-object-mapper
Specify if HATEOAS support should be applied to the primary ObjectMapper. (Default value: true)
- spring.hornetq.embedded.cluster-password
Cluster password. Randomly generated on startup by default.
- spring.hornetq.embedded.data-directory
Journal file directory. Not necessary if persistence is turned off.
- spring.hornetq.embedded.enabled
Enable embedded mode if the HornetQ server APIs are available. (Default value: true)
- spring.hornetq.embedded.persistent
Enable persistent store. (Default value: false)
- spring.hornetq.embedded.queues
Comma-separated list of queues to create on startup. (Default value: [])
- spring.hornetq.embedded.server-id
Server ID. By default, an auto-incremented counter is used. (Default value: 0)
- spring.hornetq.embedded.topics
Comma-separated list of topics to create on startup. (Default value: [])
- spring.hornetq.host
HornetQ broker host. (Default value: localhost)
- spring.hornetq.mode
HornetQ deployment mode, auto-detected by default. Can be explicitly set to native or embedded.
- spring.hornetq.port
HornetQ broker port. (Default value: 5445)
- spring.http.converters.preferred-json-mapper
Preferred JSON mapper to use for HTTP message conversion.
- spring.http.encoding.charset
Charset of HTTP requests and responses. Added to the Content-Type header if not set explicitly. (Default value: UTF-8)
- spring.http.encoding.enabled
Enable HTTP encoding support. (Default value: true)
- spring.http.encoding.force
Force the encoding to the configured charset on HTTP requests and responses. (Default value: true)
- spring.jackson.date-format
Date format string (yyyy-MM-dd HH:mm:ss) or a fully qualified date format class name.
- spring.jackson.deserialization
Jackson on/off features that affect the way Java objects are deserialized.
- spring.jackson.generator
Jackson on/off features for generators.
- spring.jackson.joda-date-time-format
Joda date/time format string (yyyy-MM-dd HH:mm:ss). If not configured, date-format will be used as a fallback if it’s configured with a format string.
- spring.jackson.locale
Locale used for formatting.
- spring.jackson.mapper
Jackson general purpose on/off features.
- spring.jackson.parser
Jackson on/off features for parsers.
- spring.jackson.property-naming-strategy
One of the constants on Jackson’s PropertyNamingStrategy (CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES). Can also be a fully qualified class name of a`PropertyNamingStrategy` subclass.
- spring.jackson.serialization
Jackson on/off features that affect the way Java objects are serialized.
- spring.jackson.serialization-inclusion
Controls the inclusion of properties during serialization. Configured with one of the values in Jackson’s JsonInclude.Include enumeration.
- spring.jackson.time-zone
Time zone used when formatting dates. Configured using any recognized time zone identifier, such as America/Los_Angeles or GMT+10.
- spring.jersey.filter.order
Jersey filter chain order. (Default value: 0)
- spring.jersey.init
Init parameters to pass to Jersey via the servlet or filter.
- spring.jersey.type
Jersey integration type. Can be either servlet or filter.
- 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.
- spring.jms.listener.auto-startup
Start the container automatically on startup. (Default value: true)
- spring.jms.listener.concurrency
Minimum number of concurrent consumers.
- spring.jms.listener.max-concurrency
Maximum number of concurrent consumers.
- spring.jms.pub-sub-domain
Specify if the default destination type supports publish/subscribe (if it is a topic as opposed to a queue). (Default value:
false)
- spring.jmx.default-domain
JMX domain name.
- spring.jmx.enabled
Expose management beans to the JMX domain. (Default value: true)
- spring.jmx.server
MBeanServer bean name. (Default value: mbeanServer)
- spring.jooq.sql-dialect
SQLDialect JOOQ used when communicating with the configured datasource, such as POSTGRES.
- spring.jpa.database
Target database to operate on, auto-detected by default. Can be alternatively set using the databasePlatform property.
- spring.jpa.database-platform
Name of the target database to operate on, auto-detected by default. Can be alternatively set using the Database enum.
- spring.jpa.generate-ddl
Initialize the schema on startup. (Default value: false)
- spring.jpa.hibernate.ddl-auto
DDL mode (none, validate, update, create, create-drop). This is actually a shortcut for the hibernate.hbm2ddl.auto property. Default to create-drop when using an embedded database; none otherwise.
- spring.jpa.hibernate.naming-strategy
The fully qualified class name of a Hibernate naming strategy.
- spring.jpa.open-in-view
Register OpenEntityManagerInViewInterceptor. Binds a JPA EntityManager to the thread for the entire processing of the request. (Default value: true)
- spring.jpa.properties
Additional native properties to set on the JPA provider.
- spring.jpa.show-sql
Enable logging of SQL statements when using the Bitronix Transaction Manager. (Default value: false)
- spring.jta.allow-multiple-lrc
Whether the transaction manager should allow enlistment of multiple LRC resources in a single transaction when using the Bitronix
Transaction Manager. (Default value: false)
- spring.jta.asynchronous2-pc
Whether two-phase commit should be executed asynchronously when using the Bitronix Transaction Manager. (Default value: false)
- spring.jta.background-recovery-interval
How often, in minutes, to run the recovery process when using the Bitronix Transaction Manager. (Default value: 1)
- spring.jta.background-recovery-interval-seconds
How often, in seconds, to run the recovery process when using the Bitronix Transaction Manager. (Default value: 60)
- spring.jta.current-node-only-recovery
Whether recovery should filter out recovered XIDs that don’t contain this JVM’s unique ID when using the Bitronix Transaction
Manager. (Default value: true)
- spring.jta.debug-zero-resource-transaction
Whether creation and commit call stacks of transactions executed without a single enlisted resource should be tracked and
logged when using the Bitronix Transaction Manager. (Default value: false)
- spring.jta.default-transaction-timeout
The default transaction timeout, in seconds, when using the Bitronix Transaction Manager. (Default value: 60)
- spring.jta.disable-jmx
Whether the registration of JMX MBeans should be disabled when using the Bitronix Transaction Manager. (Default value: false)
- spring.jta.enabled
Enable JTA support. (Default value: true)
- spring.jta.exception-analyzer
The exception analyzer to use when using the Bitronix Transaction Manager. Can be null for the default exception analyzer or the fully qualified class name of a custom exception analyzer.
- spring.jta.filter-log-status
Whether mandatory logs should be written when using the Bitronix Transaction Manager. Enabling this parameter lowers space
usage of the fragments but makes debugging more complex. (Default value: false)
- spring.jta.force-batching-enabled
Whether disk forces are batched when using the Bitronix Transaction Manager. Disabling batching can seriously lower the transaction
manager’s throughput. (Default value: true)
- spring.jta.forced-write-enabled
Whether logs are forced to disk when using the Bitronix Transaction Manager. Do not set to false in production because without disk force, integrity is not guaranteed. (Default value: true)
- spring.jta.graceful-shutdown-interval
Maximum number of seconds the transaction manager will wait for transactions to be done before aborting them at shutdown time
when using the Bitronix Transaction Manager. (Default value: 60)
- spring.jta.jndi-transaction-synchronization-registry-name
The name that the transaction synchronization registry should be bound under in JNDI when using the Bitronix Transaction Manager.
(Default value: java:comp/TransactionSynchronizationRegistry)
- spring.jta.jndi-user-transaction-name
The name the user transaction should be bound under in JNDI when using the Bitronix Transaction Manager. (Default value: java:comp/UserTransaction)
- spring.jta.journal
The journal name, when using the Bitronix Transaction Manager. Can be disk, null, or a fully qualified class name. (Default value: disk)
- spring.jta.log-dir
Transaction logs directory.
- spring.jta.log-part1-filename
The journal fragment file 1 name. (Default value: btm1.tlog)
- spring.jta.log-part2-filename
The journal fragment file 2 name. (Default value: btm2.tlog)
- spring.jta.max-log-size-in-mb
The maximum size in megabytes of the journal fragments. Larger logs allow transactions to stay longer in-doubt. If, however,
the size is too small, the transaction manager will pause longer when a fragment is full. For use with the Bitronix Transaction
Manager. (Default value: 2)
- spring.jta.resource-configuration-filename
The Bitronix Transaction Manager configuration filename.
- spring.jta.server-id
The ID that uniquely identifies the Bitronix Transaction Manager instance.
- spring.jta.skip-corrupted-logs
Whether corrupted log files should be skipped. (Default value: false)
- spring.jta.transaction-manager-id
Transaction manager unique identifier.
- spring.jta.warn-about-zero-resource-transaction
Whether to warn about transactions executed without a single enlisted resource when using the Bitronix Transaction Manager.
(Default value: true)
- spring.mail.default-encoding
Default MimeMessage encoding. (Default value: UTF-8)
- spring.mail.host
SMTP server host.
- spring.mail.jndi-name
Session JNDI name. When set, takes precedence over any other mail settings.
- spring.mail.password
Login password of the SMTP server.
- spring.mail.port
SMTP server port.
- spring.mail.properties
Additional JavaMail session properties.
- spring.mail.protocol
Protocol used by the SMTP server. (Default value: smtp)
- spring.mail.test-connection
Test that the mail server is available on startup. (Default value: false)
- spring.mail.username
Login user of the SMTP server.
- spring.messages.basename
Comma-separated list of basenames, each following the ResourceBundle convention. Essentially a fully qualified classpath location. If it doesn’t contain a package qualifier (such as org.mypackage), it will be resolved from the classpath root. (Default value: messages)
- spring.messages.cache-seconds
Loaded resource bundle files cache expiration, in seconds. When set to -1, bundles are cached forever. (Default value: -1)
- spring.messages.encoding
Message bundles encoding. (Default value: UTF-8)
- spring.mobile.devicedelegatingviewresolver.enable-fallback
Enable support for fallback resolution. (Default value: false)
- spring.mobile.devicedelegatingviewresolver.enabled
Enable device view resolver. (Default value: false)
- spring.mobile.devicedelegatingviewresolver.mobile-prefix
Prefix that gets prepended to view names for mobile devices. (Default value: mobile/)
- spring.mobile.devicedelegatingviewresolver.mobile-suffix
Suffix that gets appended to view names for mobile devices.
- spring.mobile.devicedelegatingviewresolver.normal-prefix
Prefix that gets prepended to view names for normal devices.
- spring.mobile.devicedelegatingviewresolver.normal-suffix
Suffix that gets appended to view names for normal devices.
- spring.mobile.devicedelegatingviewresolver.tablet-prefix
Prefix that gets prepended to view names for tablet devices. (Default value: tablet/)
- spring.mobile.devicedelegatingviewresolver.tablet-suffix
Suffix that gets appended to view names for tablet devices.
- spring.mobile.sitepreference.enabled
Enable SitePreferenceHandler. (Default value: true)
- spring.mongodb.embedded.features
Comma-separated list of features to enable.
- spring.mongodb.embedded.version
Version of Mongo to use. (Default value: 2.6.10)
- spring.mustache.cache
Enable template caching.
- spring.mustache.charset
Template encoding.
- spring.mustache.check-template-location
Check that the templates location exists.
- spring.mustache.content-type
Content-Type value.
- spring.mustache.enabled
Enable MVC view resolution for this technology.
- spring.mustache.prefix
Prefix to apply to template names. (Default value: classpath:/templates/)
- spring.mustache.suffix
Suffix to apply to template names. (Default value: .html)
- spring.mustache.view-names
Whitelist of view names that can be resolved.
- spring.mvc.async.request-timeout
Amount of time (in milliseconds) before asynchronous request handling times out. If this value is not set, the default timeout
of the underlying implementation is used, such as 10 seconds on Tomcat with Servlet 3.
- spring.mvc.date-format
Date format to use (such as dd/MM/yyyy).
- spring.mvc.favicon.enabled
Enable resolution of favicon.ico. (Default value: true)
- spring.mvc.ignore-default-model-on-redirect
If the content of the “default” model should be ignored during redirect scenarios. (Default value: true)
- spring.mvc.locale
Locale to use.
- spring.mvc.message-codes-resolver-format
Formatting strategy for message codes (PREFIX_ERROR_CODE, POSTFIX_ERROR_CODE).
- spring.mvc.view.prefix
Spring MVC view prefix.
- spring.mvc.view.suffix
Spring MVC view suffix.
- spring.rabbitmq.addresses
Comma-separated list of addresses to which the client should connect.
- spring.rabbitmq.dynamic
Create an AmqpAdmin bean. (Default value: true)
- spring.rabbitmq.host
RabbitMQ host. (Default value: localhost)
- spring.rabbitmq.listener.acknowledge-mode
Acknowledge mode of container.
- spring.rabbitmq.listener.auto-startup
Start the container automatically on startup. (Default value: true)
- spring.rabbitmq.listener.concurrency
Minimum number of consumers.
- spring.rabbitmq.listener.max-concurrency
Maximum number of consumers.
- spring.rabbitmq.listener.prefetch
Number of messages to be handled in a single request. It should be greater than or equal to the transaction size (if used).
- spring.rabbitmq.listener.transaction-size
Number of messages to be processed in a transaction. For best results, it should be less than or equal to the prefetch count.
- spring.rabbitmq.password
Login to authenticate against the broker.
- spring.rabbitmq.port
RabbitMQ port. (Default value: 5672)
- spring.rabbitmq.requested-heartbeat
Requested heartbeat timeout in seconds; 0 for none.
- spring.rabbitmq.ssl.enabled
Enable SSL support. (Default value: false)
- spring.rabbitmq.ssl.key-store
Path to the key store that holds the SSL certificate.
- spring.rabbitmq.ssl.key-store-password
Password used to access the key store.
- spring.rabbitmq.ssl.trust-store
Trust store that holds SSL certificates.
- spring.rabbitmq.ssl.trust-store-password
Password used to access the trust store.
- spring.rabbitmq.username
Login user to authenticate to the broker.
- spring.rabbitmq.virtual-host
Virtual host to use when connecting to the broker.
- spring.redis.database
Database index used by the connection factory. (Default value: 0)
- spring.redis.host
Redis server host. (Default value: localhost)
- spring.redis.password
Login password of the Redis server.
- spring.redis.pool.max-active
Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit. (Default value:
8)
- spring.redis.pool.max-idle
Max number of idle connections in the pool. Use a negative value to indicate an unlimited number of idle connections. (Default
value: 8)
- spring.redis.pool.max-wait
Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is
exhausted. Use a negative value to block indefinitely. (Default value: -1)
- spring.redis.pool.min-idle
Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
(Default value: 0)
- spring.redis.port
Redis server port. (Default value: 6379)
- spring.redis.sentinel.master
Name of Redis server.
- spring.redis.sentinel.nodes
Comma-separated list of host:port pairs.
- spring.redis.timeout
Connection timeout in milliseconds. (Default value: 0)
- spring.resources.add-mappings
Enable default resource handling. (Default value: true)
- spring.resources.cache-period
Cache period for the resources served by the resource handler, in seconds.
- spring.resources.chain.cache
Enable caching in the resource chain. (Default value: true)
- spring.resources.chain.enabled
Enable the Spring resource handling chain. (Disabled by default unless at least one strategy has been enabled.)
- spring.resources.chain.html-application-cache
Enable HTML5 application cache manifest rewriting. (Default value: false)
- spring.resources.chain.strategy.content.enabled
Enable the content version strategy. (Default value: false)
- spring.resources.chain.strategy.content.paths
Comma-separated list of patterns to apply to the version strategy. (Default value: [/**])
- spring.resources.chain.strategy.fixed.enabled
Enable the fixed version strategy. (Default value: false)
- spring.resources.chain.strategy.fixed.paths
Comma-separated list of patterns to apply to the version strategy.
- spring.resources.chain.strategy.fixed.version
Version string to use for the version strategy.
- spring.resources.static-locations
Locations of static resources. Defaults to classpath:[/META-INF/resources/, /resources/, /static/, /public/] plus context:/ (the root of the servlet context).
- spring.sendgrid.password
SendGrid password.
- spring.sendgrid.proxy.host
SendGrid proxy host.
- spring.sendgrid.proxy.port
SendGrid proxy port.
- spring.sendgrid.username
SendGrid username.
- spring.social.auto-connection-views
Enable the connection status view for supported providers. (Default value: false)
- spring.social.facebook.app-id
Application ID.
- spring.social.facebook.app-secret
Application secret.
- spring.social.linkedin.app-id
Application ID.
- spring.social.linkedin.app-secret
Application secret.
- spring.social.twitter.app-id
Application ID.
- spring.social.twitter.app-secret
Application secret.
- spring.thymeleaf.cache
Enable template caching. (Default value: true)
- spring.thymeleaf.check-template-location
Check that the templates location exists. (Default value: true)
- spring.thymeleaf.content-type
Content-Type value. (Default value: text/html)
- spring.thymeleaf.enabled
Enable MVC Thymeleaf view resolution. (Default value: true)
- spring.thymeleaf.encoding
Template encoding. (Default value: UTF-8)
- spring.thymeleaf.excluded-view-names
Comma-separated list of view names that should be excluded from resolution.
- spring.thymeleaf.mode
Template mode to be applied to templates. See also StandardTemplateModeHandlers. (Default value: HTML5)
- spring.thymeleaf.prefix
Prefix that gets prepended to view names when building a URL. (Default value: classpath:/templates/)
- spring.thymeleaf.suffix
Suffix that gets appended to view names when building a URL. (Default value: .html)
- spring.thymeleaf.template-resolver-order
Order of the template resolver in the chain. By default, the template resolver is first in the chain. Ordering starts at 1
and should only be set if you have defined additional TemplateResolver beans.
- spring.thymeleaf.view-names
Comma-separated list of view names that can be resolved.
- spring.velocity.allow-request-override
Set whether HttpServletRequest attributes are allowed to override (hide) controller-generated model attributes of the same name.
- spring.velocity.allow-session-override
Set whether HttpSession attributes are allowed to override (hide) controller-generated model attributes of the same name.
- spring.velocity.cache
Enable template caching.
- spring.velocity.charset
Template encoding.
- spring.velocity.check-template-location
Check that the templates location exists.
- spring.velocity.content-type
Content-Type value.
- spring.velocity.date-tool-attribute
Name of the DateTool helper object to expose in the Velocity context of the view.
- spring.velocity.enabled
Enable MVC view resolution for this technology.
- spring.velocity.expose-request-attributes
Set whether all request attributes should be added to the model prior to merging with the template.
- spring.velocity.expose-session-attributes
Set whether all HttpSession attributes should be added to the model prior to merging with the template.
- spring.velocity.expose-spring-macro-helpers
Set whether to expose a RequestContext for use by Spring’s macro library, under the name springMacroRequestContext.
- spring.velocity.number-tool-attribute
Name of the NumberTool helper object to expose in the Velocity context of the view.
- spring.velocity.prefer-file-system-access
Prefer filesystem access for template loading. Filesystem access enables hot detection of template changes. (Default value:
true)
- spring.velocity.prefix
Prefix that gets prepended to view names when building a URL.
- spring.velocity.properties
Additional velocity properties.
- spring.velocity.request-context-attribute
Name of the RequestContext attribute for all views.
- spring.velocity.resource-loader-path
Template path. (Default value: classpath:/templates/)
- spring.velocity.suffix
Suffix that gets appended to view names when building a URL.
- spring.velocity.toolbox-config-location
Velocity Toolbox config location, such as /WEB-INF/toolbox.xml. Automatically loads a Velocity Tools toolbox definition file
and exposes all defined tools in the specified scopes.
- spring.velocity.view-names
Whitelist of view names that can be resolved.
- spring.view.prefix
Spring MVC view prefix.
- spring.view.suffix
Spring MVC view suffix.