Adjust position of AfterRoutePredicateFactory
fixes gh-1557
This commit is contained in:
committed by
Spencer Gibb
parent
799577edb7
commit
b017891fe7
@@ -330,11 +330,6 @@ public class GatewayAutoConfiguration {
|
||||
return new WeightCalculatorWebFilter(routeLocator, configurationService);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public AfterRoutePredicateFactory afterRoutePredicateFactory() {
|
||||
return new AfterRoutePredicateFactory();
|
||||
}
|
||||
|
||||
/*
|
||||
* @Bean //TODO: default over netty? configurable public WebClientHttpRoutingFilter
|
||||
* webClientHttpRoutingFilter() { //TODO: WebClient bean return new
|
||||
@@ -346,6 +341,11 @@ public class GatewayAutoConfiguration {
|
||||
|
||||
// Predicate Factory beans
|
||||
|
||||
@Bean
|
||||
public AfterRoutePredicateFactory afterRoutePredicateFactory() {
|
||||
return new AfterRoutePredicateFactory();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public BeforeRoutePredicateFactory beforeRoutePredicateFactory() {
|
||||
return new BeforeRoutePredicateFactory();
|
||||
|
||||
Reference in New Issue
Block a user