Dynamically Modifying @FeignClient Path at Runtime Using BeanFactoryPostProcessor
This solution covers both Spring Boot 2.x and 3.x implementations.
Problem Description
A common requirement arises where each API interface carries an interfacePath defined in a custom annotation on the interface itself. For instance:
@FeignClient(value = "x-module")
public interface XXXService extends XApi {
}
@XXXMapping("/mem ...
Posted on Wed, 13 May 2026 10:14:33 +0000 by AlanG