lburgazzoli commented on issue #1715:
URL: https://github.com/apache/camel-k/issues/1715#issuecomment-698885613


   btw, note that you can configure the datasource using properties only, see 
https://camel.apache.org/components/latest/others/main.html#_specifying_custom_beans,
 in that case you can reference any other property using placeholder `{{ }}`, 
like:
   
   ```
   camel.beans.dataSource = #class:org.apache.commons.dbcp.BasicDataSource
   camel.beans.dataSource.driverClassName = org.postgresql.Driver
   camel.beans.dataSource.url = jdbc:postgresql://postgres:5432/my-db
   camel.beans.dataSource.username = {{db.usr}}
   camel.beans.dataSource.password = {{db.pwd}}
   ```
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to