[ https://issues.apache.org/jira/browse/CAMEL-20738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Federico Mariani updated CAMEL-20738: ------------------------------------- Description: Whenever a bean like {code:java} <bean class="org.apache.camel.component.jasypt.JasyptPropertiesParser" id="jasypt"> <property name="password" value="${KEY}"/> <property name="algorithm" value="${ALG}"/> </bean> {code} is defined, Camel Srping Boot application does not start with the following error: {code:java} 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 {code} - There is a workaround, that is, declaring the bean as primary="true". was: 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: {code:java} 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 {code} - There is a workaround, that is, declaring the bean as primary="true". > camel-jasypt-starter - PropertiesParser cannot be redefined > ----------------------------------------------------------- > > Key: CAMEL-20738 > URL: https://issues.apache.org/jira/browse/CAMEL-20738 > Project: Camel > Issue Type: Bug > Components: camel-jasypt, camel-spring-boot > Affects Versions: 4.4.2 > Reporter: Federico Mariani > Priority: Major > Fix For: 4.6.0 > > > Whenever a bean like > {code:java} > <bean > class="org.apache.camel.component.jasypt.JasyptPropertiesParser" id="jasypt"> > <property name="password" value="${KEY}"/> > <property name="algorithm" value="${ALG}"/> > </bean> {code} > is defined, Camel Srping Boot application does not start with the following > error: > {code:java} > 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 {code} > > - > > There is a workaround, that is, declaring the bean as primary="true". -- This message was sent by Atlassian Jira (v8.20.10#820010)