Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
springboot 3.2 app not starting with reactive feign in class path
  • Loading branch information
ramzes3333 committed Dec 11, 2023
1 parent 01ff94d commit 747adf1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ private void registerReactiveFeignClient(BeanDefinitionRegistry registry,

String alias = name + "ReactiveFeignClient";
AbstractBeanDefinition beanDefinition = definition.getBeanDefinition();
beanDefinition.setAttribute(FactoryBean.OBJECT_TYPE_ATTRIBUTE, className);
Class<?> type = ClassUtils.resolveClassName(className, null);
beanDefinition.setAttribute(FactoryBean.OBJECT_TYPE_ATTRIBUTE, type);

boolean primary = (Boolean)attributes.get("primary"); // has a default, won't be null

Expand Down

0 comments on commit 747adf1

Please sign in to comment.