Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.4.2
-
None
-
Unknown
Description
Whenever a bean like
<bean class="org.apache.camel.component.jasypt.JasyptPropertiesParser" id="jasypt"> <property name="password" value="${KEY}"/> <property name="algorithm" value="${ALG}"/> </bean>
is defined, Camel Srping Boot application does not start with the following error:
Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'org.apache.camel.component.properties.PropertiesParser' available: expected single matching bean but found 2: jasypt,encryptedPropertiesParser
-
There is a workaround, that is, declaring the bean as primary="true".
Attachments
Issue Links
- links to