I have created demo Spring Boot project and implemented Restful services as shown here
@RestController
public class GreetingsController {
@RequestMappin
In my case I called the wrong path via ribbon.
@FeignClient(name = "currency-exchange")
@RibbonClient(name = "currency-exchange")
public interface CurrencyExchangeProxy {
@GetMapping("/exchange/{from}/to/{to}")
PairRateDto callForExchangeValue(@PathVariable("from") String fromValue, @PathVariable("to") String toValue);
}
Remote currency-exchange
service didn't have handlers for /exchange/{from}/to/{to}
path.
So for nonexistent URL I've got 404 which is fair with "No message available" which is strange.