Provide Reactor 3 auto-configuration

This commit provides auto-configuration for the Reactor Core 3 library.
A new configuration namespace, "spring.reactor" allows to configure
hooks on operators, like "spring.reactor.stacktrace-mode.enabled".

This property is enabled automatically by devtools, since it improves
the developer experience and provides full stacktrace information when
exceptions occur (but at a performance cost).

Fixes gh-7302
This commit is contained in:
Brian Clozel
2017-01-21 16:07:30 +01:00
parent ebfaac95c0
commit de98c4b3ff
5 changed files with 103 additions and 1 deletions

View File

@@ -119,6 +119,9 @@ content into your application; rather pick only the properties that you need.
spring.messages.encoding=UTF-8 # Message bundles encoding.
spring.messages.fallback-to-system-locale=true # Set whether to fall back to the system Locale if no files for a specific Locale have been found.
# REACTOR
spring.reactor.stacktrace-mode.enabled=true # Set whether Reactor should collect stacktrace information at runtime.
# OUTPUT
spring.output.ansi.enabled=detect # Configure the ANSI output.