Camel Spring Boot - two qualifying beans found when using jasypt with autoconfiguration

Solution Unverified - Updated -

Issue

The following, or similar, error is output when using jasypt:

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xxxxx': Error creating bean with name 'properties' defined in class path resource [org/apache/camel/spring/boot/CamelAutoConfiguration.class]: Unsatisfied dependency expressed through method 'properties' parameter 0: No qualifying bean of type 'org.apache.camel.component.properties.PropertiesParser' available: expected single matching bean but found 2: jasypt,encryptedPropertiesParser

Environment

  • Red Hat build of Apache Camel for Spring Boot
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content