The zuul service isn't even called for the routing, direct requests work.
zuul : localhost:8900 service : localhost:38000 (the routing works when i use a url for request but not if I use the following method from the resttemplate:
public <T> ResponseEntity<T> exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Map<String, ?> uriVariables) throws RestClientException {
Type type = responseType.getType();
RequestCallback requestCallback = this.httpEntityCallback(requestEntity, type);
ResponseExtractor responseExtractor = this.responseEntityExtractor(type);
return (ResponseEntity)this.execute(url, method, requestCallback, responseExtractor, uriVariables);
any idea how i make zuul listen to this request?