You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Piotr Klimczak (Jira)" <ji...@apache.org> on 2021/05/12 07:02:00 UTC
[jira] [Created] (ARIES-2045) Blueprint Spring not able to resolve
bean by type
Piotr Klimczak created ARIES-2045:
-------------------------------------
Summary: Blueprint Spring not able to resolve bean by type
Key: ARIES-2045
URL: https://issues.apache.org/jira/browse/ARIES-2045
Project: Aries
Issue Type: Bug
Components: Blueprint
Affects Versions: blueprint-spring-1.0.0
Reporter: Piotr Klimczak
Fix For: blueprint-spring-1.0.0
Blueprint Spring not able to resolve bean by type
The problem is in: BlueprintBeanFactory.SpringMetadata in method:
{code:java}
public String getClassName() {
return null;
} {code}
Simple fix is to do:
{code:java}
public String getClassName() {
return getBeanDefinition(beanName).getBeanClassName();
} {code}
This solves my problem with trying to get Camel 3 working with spring camel context and resolve BridgePropertyPlaceholderConfigurer correctly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)