-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Closed
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Stéphane Nicoll opened SPR-15074 and commented
in WebHttpHandlerBuilder
, WebFilter
instances are ordered using AnnotationAwareOrderComparator
. That will only work if the ordering is set on the class itself.
The following will be ignored
@Configuration
public class MyConfig {
@Bean @Order(42)
public WebFilter myFilter() { ... }
}
There is an ignored test in the spring-boot-web-reactive
project that reproduces this behaviour
Affects: 5.0 M4
Issue Links:
- Assign a default order to ResponseStatusExceptionHandler bean created by WebReactiveConfigurationSupport [SPR-15134] #19700 Assign a default order to ResponseStatusExceptionHandler bean created by WebReactiveConfigurationSupport ("is depended on by")
Referenced from: commits b609f3a
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement