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

Changing the Feign URL Dynamically at Runtime Introduction In modern microservices architecture, the ability to communicate between services efficiently is pivotal. One of the popular libraries that facilitate such communication in Java applications is Feign . With its declarative approach to HT…

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