Feign is a java to http client binder inspired by Retrofit, JAXRS-2.0, and WebSocket. Feign's first goal was reducing the complexity of binding Denominator uniformly to http apis regardless of restfulness.
Questions tagged [feign]
635 questions
0
votes
3 answers
Problem deserialize flux/mono into Feign Spring Cloud
i develop a micro services application with Kotlin Webflux (Reactor3), Eureka, Zuul and Feign. Except that I always have an error when I make a call to an API via my micro service Feign. It looks like he can not deserialize the data. Could you…

R. I
- 35
- 1
- 6
0
votes
0 answers
I want to render a ejs page in express (eureka-client) from spring boot service (rest controller) (eureka-client) through feign
// form in ejs file in express app to add pacient and send data to spring boot rest service throw zuul api gateway
0
votes
1 answer
How to autowired 2.x Spring cloud openFeign interface when my spring Cloud version is Edgware.RELEASE ? Spring can't find this bean
My colleague offers me a openFeign interface which is based in spring Cloud 2.x, i can't inject it in my service as usuall. (my spring cloud version is Edgware.RELEASE, and may be it may be the initiator of this problem),so what can i do to solve…

Jiminy
- 1
- 1
0
votes
3 answers
Mock open feign response body
I have a code as shown
MyDefinition databricksResponseBody = null;
ResponseBody = gson.fromJson(Response.body().asReader(), MyDefinition.class);
Now to mock this I am using Mockito. I already mocked the header of this response but unable to mock…
user9214790
0
votes
1 answer
How to not instantiate the feign client during tests?
when I start my test the feign client also starts so how to not Instantiate the Feign Client During Tests ?

Mohamed h
- 1
- 2
0
votes
0 answers
How can services of multiple projects talk to each other in zookeeper
I am using Zookeeper, and I have configured a Spring cloud and an RPC project.
Let’s say the services of the spring cloud are S1, S2, and S3...and the services of the RPC project are R1, R2, and R3.
I am able to call S1 and S2 using Feign…

AbdulB
- 1
0
votes
1 answer
Fegin Hystrix does not effective
I tried Feign to configure Hystrix. Enter 127.0.0.1:8100/test in the browser address bar. No matter whether it is configured with fallback or fallbackFactory, the result of the prompt is: "com.netflix.client.ClientException: Load balancer does not…

lvqiang
- 51
- 1
- 4
0
votes
0 answers
RetryLoadBalancerInterceptor not being called
I am using @FeignClient (backed with Ribbon as LB and and Eureka as a service registry).
I would like to write an interceptor that gets called when load-balancing requests are sent out.
I found RetryLoadBalancerInterceptor from Spring Cloud but…

FloW
- 139
- 10
0
votes
1 answer
Feign Client with PCF internal route
With Feign client I couldn't connect to an api endpoint hosted on internal route in PCF. Getting connection refused exception like below. Any advise on resolving this issue?
feign.RetryableException: Connection refused (Connection refused)…

Minisha
- 2,117
- 2
- 25
- 56
0
votes
0 answers
how to decode error code in spring boot fiegn client
I have to implement a error decode for feign client I went to through this link
in that, decode function needs response but how to get this response from fiegn client, below is my feign client.
@FeignClient(name="userservice")
public interface…

scoder
- 2,451
- 4
- 30
- 70
0
votes
1 answer
FeignClient service name configure through application.properties not working
I am trying configure service name for FeignClient from application.properties.
It works when I hardcode my service name like below.
@FeignClient("userdetail-service")
public interface UserServiceClient {
@RequestMapping(
method=…

scoder
- 2,451
- 4
- 30
- 70
0
votes
2 answers
Unable to throw expection in feign builder
Im trying to add variable in my feign.builder but it keep saying that
Unhandled exceptions: java.net.URISyntaxException, java.io.IOException
throwing exceptions doesn't work neither catching any ideas how to fix this?
Feign Builder:
…
0
votes
1 answer
How to use custom ApacheHttpClient with Feign?
I've tried to add a custom HttpClient via configuration:
@Bean
public CloseableHttpClient httpClient() {
RequestConfig requestConfig = RequestConfig.custom()
.setConnectTimeout(15000)
…

Manish Mishra
- 12,163
- 5
- 35
- 59
0
votes
2 answers
Spring Boot feign exception
I am trying to make an API request with application / x-www-form-urlencoded.
Here is my feign client:
@Bean
public YandexDelivery yandexDelivery() {
return Feign.builder()
.client(new OkHttpClient())
.encoder(new…

Дима Гуманов
- 117
- 2
- 12
0
votes
0 answers
How to fix Abstract method error after adding feign client
I am trying to set communication between micro services using eureka and feign client. Eureka is working fine and every micro service is registering themselves. But when I add a feign client it gives me an abstract method error.
I am using eureka…

Divyani Garg
- 138
- 1
- 3
- 15