Is it ok to invoke the .uri() method twice within a route?
.uri()
I have done this and it seems to be working:
@Bean public RouteLocator gate