Open pgisslen opened 4 years ago
Just to be clear, is this a regression in 2.0 you are seeing or a new issue report?
I have the same behavior in case of UnkownHostException fallback is never triggered. Example : https://github.com/nchapon/hello-mn/blob/master/src/main/java/hello/mn/domain/FruityServiceFallback.java
Nicolas
@nchapon Add @Recoverable(api=FruityService.class)
to FruityServiceClient
@graemerocher Thanks !
Perhaps this should be documented because with @CircuitBreaker,
fallback is triggered without using @Recoverable
Agreed better docs would be good. PRs are of course welcome
Steps to Reproduce
Expected Behaviour
Fallback is triggered and a successful response is returned
Actual Behaviour
Client throws HttpClientResponseException
Environment Information
Example Application
See testFallback()