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:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2016 the original author or authors.
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -57,6 +57,7 @@ public class DevToolsPropertyDefaultsPostProcessor implements EnvironmentPostPro
|
||||
properties.put("spring.template.provider.cache", "false");
|
||||
properties.put("spring.mvc.log-resolved-exception", "true");
|
||||
properties.put("server.jsp-servlet.init-parameters.development", "true");
|
||||
properties.put("spring.reactor.stacktrace-mode.enabled", "true");
|
||||
PROPERTIES = Collections.unmodifiableMap(properties);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user