spring cloud feign

Multiple Feign Clients in Spring

Multiple Feign Clients with Different Configurations in Spring In the realm of microservices architecture, communication between services is a crucial aspect. Spring Framework offers several tools to simplify this communication, one of which is Feign. Feign is a declarative web service client devel…

Response Interceptors in Spring Cloud OpenFeign

Enhancing API Communication with Response Interceptors in Spring Cloud OpenFeign Introduction: In the realm of microservices architecture, seamless communication between services is paramount. Spring Cloud OpenFeign simplifies this process by providing a declarative way to interact with RESTful API…

Handling Feign Exceptions in Spring Boot Using @RestControllerAdvice

Handling Feign Exceptions in Spring Boot Using @RestControllerAdvice Handling exceptions is a crucial aspect of developing robust microservices, especially when dealing with communication between services. In Spring Boot applications, Feign clients are commonly used for making HTTP requests to othe…

FeignContext - NoSuchBeanDefinitionException

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.cloud.netflix.feign.FeignContext' available   When you encounter a NoSuchBeanException related to FeignContext while using `@EnableFeignClients` and `@FeignClient`, it…

Feign over RestTemplate

As a spring boot developer, evaluating tools like Feign and RestTemplate requires considering various factors including ease of use, performance, scalability, maintainability, and alignment with project requirements. Here's an analysis of the advantages and disadvantages of using Feign over Res…

Changing the Feign URL dynamically at runtime

Introduction: Changing the Feign URL dynamically at runtime can be achieved by leveraging Spring Cloud's support for property resolution and dynamic configuration updates. One approach to accomplish this is by using Spring's Environment abstraction along with Spring Cloud Config Server for …

Spring Cloud Feign and HTTP Connection Pooling

Spring Cloud: Enhancing Performance with Feign and HTTP Connection Pooling Introduction: In the world of microservices, effective communication between services is paramount. Spring Cloud offers a suite of tools to simplify the development of cloud-native applications. Among these tools, Feign and …

Load More
That is All