Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17636

camel-jbang - Auto download of JDBC drivers from beans configurations

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.16.0
    • camel-jbang
    • None
    • Unknown

    Description

      • 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

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: