spring-cloud-openfeign icon indicating copy to clipboard operation
spring-cloud-openfeign copied to clipboard

URL request error, can dynamic update and re-request?

Open songlingling0012 opened this issue 1 year ago • 1 comments

If the specified url parameter causes a request failure, can you replace the url parameter value to send the request again?

Kind of like FallBackFactory, but based on the global configuration of FeignClient, and able to send the server a second request instead of returning an exception directly

songlingling0012 avatar Feb 18 '23 09:02 songlingling0012

No, at this point, you would have to implement the logic in the fallback class.

OlgaMaciaszek avatar Feb 20 '23 17:02 OlgaMaciaszek