camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milltj <mil...@drop-tank.com>
Subject JDBC Connection Setup
Date Sun, 11 Aug 2013 21:46:26 GMT
I have been searching the web and have been unable to find out how to
configure the datasource when I am trying to use JDBC to connect to a MySQL
database.  I added the following dependencies to my project:

    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-jdbc</artifactId>
      <version>2.11.1</version>
    </dependency>
    <dependency>
      <groupId>mysql</groupId>
      <artifactId>mysql-connector-java</artifactId>
      <version>5.1.26</version>
    </dependency>
  </dependencies>

What needs to be added to the <camel-context> to configure the connection to
my database and make that connection available to my beans?

I appreciate any links or information anyone can provide.

- Tim



--
View this message in context: http://camel.465427.n5.nabble.com/JDBC-Connection-Setup-tp5737089.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message