netflix-feign Questions

2

Solved

I have following REST controller with GET method that have BODY, that works fine with tests and postman @RestController @RequestMapping(value = "/xxx") public class Controller { @GetMapping({"/fi...
Disturb asked 14/6, 2018 at 15:57

7

we are using netflix feign to make call to restful web service. For patch request it looks like PATCH request is not supported. Caused by: feign.RetryableException: Invalid HTTP method: PATCH e...
Engineman asked 12/2, 2016 at 23:35

8

Solved

How can I achieve curl -k in feign client? I know I can do this. Just want to know if there's a way to ignore or disable. new Client.Default(SSLSocketFactory sslContextFactory, HostnameVerifier ...
Toggle asked 17/4, 2017 at 7:41

7

Solved

I'm trying to accomplish a multipart file upload using feign, but I can't seem to find a good example of it anywhere. I essentially want the HTTP request to turn out similar to this: ... Content-T...
Cinque asked 31/7, 2015 at 18:27

2

When I use a FeignClient it is setting the Content-Type to application/x-www-form-urlencoded instead of application/json;charset=UTF-8. If I use a RestTemplate to send the same message the message...
Uralite asked 22/4, 2015 at 12:53

10

My application is getting below error when consuming a service that performs queries in SQL Server using FeignClient. ERROR: Exception in thread "pool-10-thread-14" feign.RetryableException: R...
Hunker asked 28/6, 2016 at 15:23

11

Solved

I'm trying to use Feign client. Below is my feing client: import com.eprogrammerz.examples.domain.Movie; import org.springframework.cloud.netflix.feign.FeignClient; import org.springframework.web....
Schweiker asked 30/12, 2016 at 18:35

6

Solved

I am having trouble auto wiring a feign client from another project. It appears that the implementation of the feign client is not being generated and injected. This is the error I am getting. or...
Victoria asked 14/5, 2015 at 15:27

2

Using the spring cloud feign call my service, when the service return 401 exception, the respose.body() is null. When I throw the exception that is throw new BadRequestException(400, “this http co...
Regional asked 27/3, 2017 at 11:36

4

Solved

It's my Feign interface @FeignClient( name="mpi", url="${mpi.url}", configuration = FeignSimpleEncoderConfig.class ) public interface MpiClient { @RequestMapping(method = RequestMethod.POST) ...
Secern asked 23/2, 2017 at 22:46

4

Solved

I have a working Feign interface defined as: @FeignClient("content-link-service") public interface ContentLinkServiceClient { @RequestMapping(method = RequestMethod.GET, value = "/{trackid}/link...
Tanka asked 1/5, 2015 at 10:23

4

I have a number of clients for which a "global" RequestInterceptor has been defined. For one of the clients I need this "global" interceptor to be excluded. Is it possible to override the full set ...

3

Solved

I'm developing an app against a cloud application that has hard api rate limits in place. In order to have my team get a feeling for how close we are in regards to those limits I want to count all ...
Soelch asked 5/4, 2019 at 8:51

4

Solved

I am using feign for my rest-calls. Unfortunately one of the responses I get looks something like this: { "customer-id" : "0123" } The JSON response automatically gets mapped to one of my POJO'...
Isidore asked 21/4, 2017 at 7:49

2

I am currently using Spring Cloud and Feign to consume a Microservice in my application. Since it can happen, that a database connection or the like fails in a single service instance, making it re...

2

Solved

I'm creating a REST client using Feign. I've got my calls working, but I want to add some timeout support, and I'm having a heck of a time figuring out how to do that. Feign's documentation says "...
Cartilaginous asked 5/11, 2015 at 18:4

3

Solved

My goal is to create a strategy of different steps to get from a point-to-point communication between 2 components to a "full blown netflix" style of communication using eureka, ribbon, hystrix. Wi...
Damned asked 26/3, 2015 at 12:6

3

I am aware that we can force FeignClient to use OkHttp instead of Ribbon by providing the url Ex. @FeignClient(url="serviceId", name="serviceId") I want the OkHttpClient to be used even when just ...

4

Solved

I have a Spring Clound Feign Client mapping defined as following @RequestMapping(method = RequestMethod.GET, value = "/search/findByIdIn") Resources<MyClass> get(@RequestParam("ids") List&lt...

2

Solved

This is my contract, @RequestLine("GET /products/{id}") @Headers({"Content-Type: application/json"}) ApiResponse getProduct(@Param("id") String productId) throws Exception; I want to fetch the p...
Monoacid asked 10/5, 2017 at 9:57

2

Solved

I would like to forward a request header with a feign client RequestInterceptor but, within RequestInterceptor.apply, RequestContextHolder.getRequestAttributes() is null, so is SecurityContextHolde...
Creigh asked 3/12, 2015 at 10:1

6

Solved

I try doing migration Springboot 1.x.y (Brussels-SR12) to 2.x.y. I use FeignClients I change Maven configuration: <spring-cloud.version>Finchley.RELEASE</spring-cloud.version> so &...
Archery asked 17/10, 2018 at 8:23

5

This time I was working with Declarative REST Client, Feign in some Spring Boot App. What I wanted to achieve is to call one of my REST API's, which looks like: @RequestMapping(value = "/custome...
Fanechka asked 2/2, 2016 at 15:58

2

Solved

Can anyone please tell me if the Spring Cloud Feign Client provides or supports Http Connection Pooling, and if so how to configure settings like pool size? I can't seem to find this in the officia...
Viviennevivify asked 22/3, 2016 at 11:25

1

I am using OpenFeign client in Spring Boot without using Ribbon or Eureka. I created a custom error decoder which handles response errors as intended but connection refused errors seem to bypass my...
Emmen asked 24/4, 2019 at 16:3

© 2022 - 2025 — McMap. All rights reserved.