Top "Spring-cloud-feign" questions

Use this tag for question related to the use of Feign declarative REST client inside the spring cloud ecosystem.

spring feign client exception handling

I have some fiegn client to send request other micro service. @FeignClient(name="userservice") public interface UserClient { @RequestMapping( method= RequestMethod.…

exception spring-cloud-feign feign
Can't get Feign Client to work for a basic example

Can't get Feign Client to work. First tried with POST. Kept running into errors related to Encoder/Decoder saying type …

rest spring-boot netflix-feign spring-cloud-feign feign
How to send POST request by Spring cloud Feign

It's my Feign interface @FeignClient( name="mpi", url="${mpi.url}", configuration = FeignSimpleEncoderConfig.class ) public interface MpiClient { @RequestMapping(method = RequestMethod.POST) …

spring-cloud-netflix netflix-feign spring-cloud-feign
FeignClient throws instead of returning ResponseEntity with error http status

As I'm using ResponseEntity<T> as return value for my FeignClient method, I was expecting it to return …

spring-cloud-feign
spring boot feign client getting HTTP 404

I am currently just checking how to use Feign as Declarative REST client in one of my project. following is …

spring spring-cloud-feign feign
Feign ErrorDecoder : retrieve the original message

I use a ErrorDecoder to return the right exception rather than a 500 status code. Is there a way to retrieve …

spring-cloud-feign
How can I change the feign URL during the runtime?

@FeignClient(name = "test", url="http://xxxx") How can I change the feign URL (url="http://xxxx") during the runtime? because …

spring-cloud spring-cloud-feign
@EnableFeignClients and @FeignClient fail on Autowiring 'FeignContext' NoSuchBeanException

The microservice I'm writting needs to communicate to other microservices in our platform. On that attempt, the ideal solution for …

java spring-boot spring-cloud-netflix spring-cloud-feign feign
Feign client and Spring retry

I have a restful service calling an external service using Spring Cloud Feign client @FeignClient(name = "external-service", configuration = FeignClientConfig.class) …

spring spring-boot spring-cloud spring-cloud-feign spring-retry
How do you allow 400 Errors to propagate when using Feign with Hystrix?

I'm building a SpringBoot microservice that calls another microservice and naturally want to use Hystrix and Feign clients, which are …

java spring spring-cloud hystrix spring-cloud-feign