-
Notifications
You must be signed in to change notification settings - Fork 804
Closed
Description
Is your feature request related to a problem? Please describe.
I would like to use the same feign client in several of our custom spring libraries. Each library autowires a feign client by name (using Qualifier annotations). Unfortunately, in the FeignClient annotation, only one qualifier can be defined.
Describe the solution you'd like
I would like that FeignClient annotation's qualifier attribute should be changed to a String array.
(And of course the underlying code should pass this array to Spring instead of a single String:
Line 245 in 252f118
BeanDefinitionHolder holder = new BeanDefinitionHolder(beanDefinition, className, new String[] { alias }); |
Describe alternatives you've considered
Currently we are forced to use multiple FeignClients implementing the same API but having a different qualifier...
Additional context
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request