Tagged articles
13 articles
Page 1 of 1
Java One
Java One
Jul 2, 2025 · Backend Development

Mastering OpenFeign: Simplify Spring Cloud REST Calls with Declarative Clients

This guide walks through replacing verbose RestTemplate calls with Spring Cloud OpenFeign's declarative REST client, covering dependency setup, client interfaces, annotations, logging, timeout, retry, interceptors, fallback handling with Sentinel, and advanced configurations to streamline microservice communication.

FeignClientMicroservicesOpenFeign
0 likes · 13 min read
Mastering OpenFeign: Simplify Spring Cloud REST Calls with Declarative Clients
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 20, 2024 · Backend Development

Master Spring Cloud OpenFeign: Complete Guide with Code Samples

This article provides a comprehensive introduction to Spring Cloud OpenFeign, comparing it with Feign and HttpExchange, and walks through practical setup, client declaration, custom configuration, interceptors, error handling, timeout and logging settings with full code examples for Spring Boot 3.2.5.

FeignClientMicroservicesOpenFeign
0 likes · 11 min read
Master Spring Cloud OpenFeign: Complete Guide with Code Samples
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Apr 11, 2024 · Backend Development

Why OpenFeign Misinterprets Dates and How to Fix It

When converting Date parameters in OpenFeign calls, the client serializes them to strings using the local CST timezone, causing a 14‑hour discrepancy that can be resolved by using timestamps, @DateTimeFormat, or custom formatters on both client and server sides.

FeignClientMicroservicesOpenFeign
0 likes · 10 min read
Why OpenFeign Misinterprets Dates and How to Fix It
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 13, 2023 · Backend Development

Mastering Spring Cloud OpenFeign: Common Pitfalls and Advanced Configurations

This guide explains how to set up Spring Cloud OpenFeign, demonstrates key code examples, and uncovers five often‑overlooked issues—including timeout defaults, retry behavior, fallback strategies, the primary attribute, and dynamic timeout refresh—while providing practical configuration solutions.

FeignClientMicroservicesOpenFeign
0 likes · 8 min read
Mastering Spring Cloud OpenFeign: Common Pitfalls and Advanced Configurations
Code Ape Tech Column
Code Ape Tech Column
Jun 10, 2023 · Backend Development

Simplifying Local Development with OpenFeign: Custom URL Routing via ImportBeanDefinitionRegistrar

This article explains how to simplify OpenFeign calls during local development by configuring FeignClient URLs through a custom ImportBeanDefinitionRegistrar, avoiding manual code changes for production, and provides step‑by‑step implementation, configuration, and testing guidance for Spring Cloud microservices.

FeignClientImportBeanDefinitionRegistrarLocal Development
0 likes · 13 min read
Simplifying Local Development with OpenFeign: Custom URL Routing via ImportBeanDefinitionRegistrar
Programmer DD
Programmer DD
May 26, 2023 · Backend Development

How OpenFeign Uses Dynamic Proxies to Simplify Remote Calls

OpenFeign, originally Netflix Feign, provides a declarative way to perform remote service calls by generating dynamic proxy classes that translate interface methods into HTTP requests, and this article explains its origins, basic usage, annotation processing, and the detailed steps of its dynamic proxy creation.

Dynamic ProxyFeignClientMicroservices
0 likes · 10 min read
How OpenFeign Uses Dynamic Proxies to Simplify Remote Calls
Code Ape Tech Column
Code Ape Tech Column
May 18, 2023 · Backend Development

Understanding the Dynamic Proxy Mechanism of Spring Cloud OpenFeign

This article explains the origins, usage, and internal dynamic‑proxy workflow of Spring Cloud OpenFeign, illustrating how FeignClient interfaces are scanned, annotated, and transformed into remote service calls through generated proxy classes, with code examples and diagrams.

BackendDynamic ProxyFeignClient
0 likes · 10 min read
Understanding the Dynamic Proxy Mechanism of Spring Cloud OpenFeign
Selected Java Interview Questions
Selected Java Interview Questions
Jan 18, 2023 · Backend Development

Analyzing and Resolving Circular Dependency Causing SocketTimeoutException in SpringBoot Microservices

The article investigates a SocketTimeoutException caused by a circular dependency between two SpringBoot microservices, explains how the deadlock occurs, demonstrates a reproducible test setup with Eureka, FeignClient and JMeter, and provides a concrete code‑level fix to break the loop.

BackendFeignClientcircular-dependency
0 likes · 8 min read
Analyzing and Resolving Circular Dependency Causing SocketTimeoutException in SpringBoot Microservices
Code Ape Tech Column
Code Ape Tech Column
Jan 11, 2023 · Backend Development

Resolving SocketTimeoutException Caused by Circular Dependency in Spring Cloud Microservices

The article analyzes a SocketTimeoutException occurring in a test environment due to a circular dependency between two Spring Cloud microservices, demonstrates how removing the circular call eliminates the timeout, and provides verification steps with code, JMeter load testing, and thread‑dump analysis.

FeignClientcircular-dependencyeureka
0 likes · 9 min read
Resolving SocketTimeoutException Caused by Circular Dependency in Spring Cloud Microservices
Sanyou's Java Diary
Sanyou's Java Diary
Apr 23, 2022 · Backend Development

How OpenFeign Builds Dynamic Proxies in Spring Cloud – A Deep Dive

This article dissects the inner workings of OpenFeign within Spring Cloud, explaining how @EnableFeignClients triggers bean registration, how FeignClientsRegistrar and related configuration classes create BeanDefinitions, and how the FeignBuilder ultimately generates dynamic proxy instances for Feign clients.

Dynamic ProxyFeignClientOpenFeign
0 likes · 21 min read
How OpenFeign Builds Dynamic Proxies in Spring Cloud – A Deep Dive
Code Ape Tech Column
Code Ape Tech Column
Mar 16, 2022 · Backend Development

Understanding OpenFeign’s Dynamic Proxy Mechanism in Spring Cloud

This article explains how Spring Cloud OpenFeign simplifies remote service calls by using Java dynamic proxies, walks through its initialization process, annotation parsing, and shows concrete code examples that illustrate the creation of proxy objects and method handlers.

Dynamic ProxyFeignClientOpenFeign
0 likes · 11 min read
Understanding OpenFeign’s Dynamic Proxy Mechanism in Spring Cloud