camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akoufoudakis <akoufouda...@gmail.com>
Subject Re: Configuring database with jdbc
Date Wed, 09 Jul 2014 12:01:03 GMT
In your route:

 .to("jdbc:dataSource?useHeadersAsParameters=true");

the "dataSource" should be a data source (e. g., apache dbcp).
It should be configured via Spring as a bean.

<bean id = "dataSource" ...>
.....
</bean>.
To configure it properly, please check the link provided by Charles in his
reply to you or take fradj reply as an example.

If you have it already configured, check if there is a database connectivity
problem or check, whether your select statement is correct.



--
View this message in context: http://camel.465427.n5.nabble.com/Configuring-database-with-jdbc-tp5753574p5753585.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message