can I create a global dataSource configuration in an extra bundle like for jms ?
java.lang.IllegalArgumentException: registry entry called dataSource of type javax.sql.DataSource must be specified
When I put the bean id="dataSource" in the same file as the route everything works fine but this is not want I want to do
You can expose dataSource as OSGi service in one bundle and refer it in another bundle.
You can do it with both spring-dm and blueprint, more details take a look at,chapter 10 "Deploying an OSGi Service"