[ https://issues.apache.org/jira/browse/CAMEL-20738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17843708#comment-17843708 ]
Federico Mariani edited comment on CAMEL-20738 at 5/6/24 11:04 AM: ------------------------------------------------------------------- sure, on it. https://github.com/apache/camel-spring-boot/pull/1141 was (Author: federico mariani): sure, on it. > 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 > Assignee: Federico Mariani > Priority: Major > Fix For: 4.4.3, 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)