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

Add spring-boot-starter-jdbc dependency to camel-spring-jdbc-starter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.4.0
    • None
    • Unknown

    Description

      I think it would be cool to add spring-boot-starter-jdbc as a dependency to our camel-spring-jdbc-starter.
      This would bring in the Hikari connection pool and would create a pooled datasource by default instead of having the need to set 'spring.datasource.type' correctly and not having connection pooling out of the box by default.

      I think this is more inline with the opinionated SpringBoot way and there are probably other camel starters that could benefit from this logic.

      Attachments

        Issue Links

          Activity

            People

              jpoth John Poth
              jpoth John Poth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: