[
https://issues.apache.org/jira/browse/CAMEL-17636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17491386#comment-17491386
]
Claus Ibsen commented on CAMEL-17636:
-------------------------------------
We can add more and more known dependencies to this file that are used as a
fallback to auto download needed JARs
https://github.com/apache/camel/blob/main/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties
> camel-jbang - Auto download of JDBC drivers from beans configurations
> ---------------------------------------------------------------------
>
> Key: CAMEL-17636
> URL: https://issues.apache.org/jira/browse/CAMEL-17636
> Project: Camel
> Issue Type: New Feature
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.16.0
>
>
> - route:
> from:
> uri: "sql:SELECT * FROM table1"
> parameters:
> dataSource: "datasource"
> steps:
> - marshal:
> json:
> library: Jackson
> - log: "${body}"
> - beans:
> - name: datasource
> type: "org.apache.commons.dbcp2.BasicDataSource"
> properties:
> username: postgres
> password: postgres
> url: jdbc:postgresql:localhost:5432:demo
> driverClassName: org.postgresql.Driver
--
This message was sent by Atlassian Jira
(v8.20.1#820001)