where i used Greenwich.RELEASE in my gateway project
Can run normally
but now i upgrade Greenwich.SR2 is do not work
I found the reason, the getRouteDefinitions method will be called once by default, and feign is not finished.
but old version Will not call
`
public class FeignRouteDefinitionRepository implements RouteDefinitionRepository {
@Autowired
private RouterFeignClient client;
@Override
public Flux<RouteDefinition> getRouteDefinitions() {
return Flux.fromIterable(client.load())
}
@Override
public Mono save(Mono route) {
return Mono.empty();
}
@Override
public Mono<Void> delete(Mono<String> routeId) {
return Mono.empty();
}
where i used Greenwich.RELEASE in my gateway project Can run normally
but now i upgrade Greenwich.SR2 is do not work I found the reason, the getRouteDefinitions method will be called once by default, and feign is not finished. but old version Will not call
` public class FeignRouteDefinitionRepository implements RouteDefinitionRepository { @Autowired private RouterFeignClient client;
@Override public Mono save(Mono route) {
return Mono.empty();
}
`