Claus Ibsen created CAMEL-17636:
-----------------------------------
Summary: 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
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)