Hi You can take a look at the sql-example http://camel.apache.org/sql-example.html
On Sun, Aug 11, 2013 at 11:46 PM, milltj <mil...@drop-tank.com> wrote: > 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. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen