Skip to content

Spring Boot 4.2.0 M1 Configuration Changelog

Stéphane Nicoll edited this page Aug 21, 2026 · 2 revisions

Configuration property changes between 4.1.1 and 4.2.0-M1

Default Changed in 4.2.0-M1

None.

Deprecated in 4.2.0-M1

Key Replacement Reason

spring.mvc.pathmatch.matching-strategy

Path matching is no longer configurable

spring.rabbitmq.ssl.verify-hostname

Hostname verification is always enabled

Added in 4.2.0-M1

Key Default value Description

management.datadog.metrics.export.compress

true

Whether payload should be compressed.

management.health.jms.start-timeout

Timeout to use when starting a connection for the health check.

server.jetty.forwarded-headers.header-format

x-forwarded

Format of the forwarded headers to support.

server.netty.forwarded-headers.header-format

x-forwarded

Format of the forwarded headers to support.

spring.amqp.client.completion-timeout

60s

Maximum time to wait for request operations to complete.

spring.amqp.client.default-to-address

Default destination address for send operations when none is specified.

spring.amqp.host

localhost

AMQP broker host.

spring.amqp.listener.auto-startup

true

Whether to start the container automatically on startup.

spring.amqp.listener.concurrency

1

Number of consumers.

spring.amqp.listener.default-requeue-rejected

true

Whether to requeue messages in case of error.

spring.amqp.listener.graceful-shutdown-period

30s

How long to wait for all consumers to shut down successfully.

spring.amqp.listener.initial-credits

100

Initial number of credits to grant to the AMQP receiver.

spring.amqp.listener.receive-timeout

1s

Timeout for receive operations.

spring.amqp.password

Password used to authenticate to the broker.

spring.amqp.port

5672

AMQP broker port.

spring.amqp.rabbitmq.address

The address to which the client should connect.

spring.amqp.rabbitmq.host

localhost

RabbitMQ host.

spring.amqp.rabbitmq.listener.batch.receive-timeout

30s

Timeout for gathering batch messages.

spring.amqp.rabbitmq.listener.batch.size

Batch size, expressed as the number of physical messages, to be used by the container.

spring.amqp.rabbitmq.listener.observation-enabled

false

Whether to enable observation.

spring.amqp.rabbitmq.password

guest

Login to authenticate against the broker.

spring.amqp.rabbitmq.port

RabbitMQ port.

spring.amqp.rabbitmq.ssl.bundle

SSL bundle name.

spring.amqp.rabbitmq.template.default-receive-queue

Name of the default queue to receive messages from when none is specified explicitly.

spring.amqp.rabbitmq.template.exchange

``

Name of the default exchange to use for send operations.

spring.amqp.rabbitmq.template.routing-key

``

Value of a default routing key to use for send operations.

spring.amqp.rabbitmq.username

guest

Login user to authenticate to the broker.

spring.amqp.rabbitmq.virtual-host

Virtual host to use when connecting to the broker.

spring.amqp.username

Login user to authenticate to the broker.

spring.kafka.streams.leave-group-on-close

false

Whether the consumer should leave the group when stopping Kafka Streams.

spring.mvc.forwarded-headers.header-format

x-forwarded

Format of the forwarded headers to support.

spring.mvc.forwarded-headers.use-forwarded-prefix

false

Whether to use the "X-Forwarded-Prefix" header to determine the context path.

spring.webflux.forwarded-headers.header-format

x-forwarded

Format of the forwarded headers to support.

spring.webflux.forwarded-headers.use-forwarded-prefix

false

Whether to use the "X-Forwarded-Prefix" header to determine the context path.

Removed in 4.2.0-M1

None.

Clone this wiki locally