Re: ServiceMIx+Camel JDBC+MySql = javax.sql.DataSource not found

2012-07-02 Thread dagaz
Thank you! That was the case - I had to add reference into my route blueprint: reference id=MyDataSource interface=javax.sql.DataSource/ And now it works fine. -- View this message in context:

ServiceMIx+Camel JDBC+MySql = javax.sql.DataSource not found

2012-07-01 Thread dagaz
I know that there are a lot of information about this, but it is second week while searching through various posts, but I cannot find any solution. Simple scenario: I need datasource bean, to use it with JDBC component. I've created db.xml for datasource: ?xml version=1.0 encoding=UTF-8?

Re: ServiceMIx+Camel JDBC+MySql = javax.sql.DataSource not found

2012-07-01 Thread Claus Ibsen
Hi In the Camel XML file, which I assume is a blueprint XML file, then do you have a reference for the data source? There is a bit details here: http://aries.apache.org/modules/blueprint.html Christian Schneider wrote a Camel and OSGi blog series. You may find some useful details here