jabhishek01 opened a new issue, #1468:
URL: https://github.com/apache/camel-karavan/issues/1468

   ### Describe the bug
   
   Bug camel-jasypt integration with camel-karavan 4.6.0 is not working.
   
   We have added camel-jasypt in our application.properties of integration 
project. When we added secret passkey in application.properties as well. In 
camel route yaml file when we try to print ENC(encrypted value) then gives 
error as component.jasypt not found in classpath.
   
   1) test.camel.yaml 
   
   - route:
       id: route-e881
       nodePrefixId: route-348
       from:
         id: from-f50e
         uri: timer
         parameters:
           timerName: test
           repeatcount: 2
         steps:
           - log:
               id: log-d10e
               message: {{ENC('encrypted value')}}
               
   
   2) property added in application.properties :           
   camel.component.jasypt.password=mypasskey      
   
   
        
   
   ### Steps to reproduce the behavior
   
   1. Go to '...'a
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   
   ### Variant
   
   Web Application
   
   ### Container Management (if applicable)
   
   Docker
   
   ### Operating System (if applicable)
   
   Linux
   
   ### Version
   
   4.7.0
   
   ### Relevant log output
   
   ```shell
   2024-12-16 15:18:21.276  INFO 15 --- [           main] 
org.apache.camel.main.ProfileConfigurer  : The application is starting with 
profile: dev
   java.lang.IllegalArgumentException: Error configuring property: 
camel.component.jasypt.password because cannot find component with name jasypt. 
Make sure you have the component on the classpath
           at 
org.apache.camel.main.BaseMainSupport.lambda$doAutoConfigurationFromProperties$36(BaseMainSupport.java:2217)
           at 
org.apache.camel.main.MainHelper.computeProperties(MainHelper.java:415)
           at 
org.apache.camel.main.BaseMainSupport.doAutoConfigurationFromProperties(BaseMainSupport.java:2205)
           at 
org.apache.camel.main.BaseMainSupport.autoConfigurationFromProperties(BaseMainSupport.java:2168)
           at 
org.apache.camel.main.BaseMainSupport.autoconfigure(BaseMainSupport.java:549)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to