feign icon indicating copy to clipboard operation
feign copied to clipboard

Non HttpMethod in feignClient Interface

Open broken98 opened this issue 3 years ago • 0 comments

Hello,

I have been using @FeignClient annotation on the interface to connect to multiple REST clients but now i have a requirement to a add a non-http method in the interface, which throws a runtime exception

exception: method not annotated with HTTP method type (ex. GET, POST)

is their a way to achieve this.

PS: i am looking at this to inject a CircuitBreakerRegistry in the interface, which can be utilized in the fallback methods.

Thank You

broken98 avatar Jun 15 '21 22:06 broken98