I have an application where I'd like to combine Quarkus Reactive Database 
client and also using Camel SQL component to query same PostgreSQL database.

I can't find any documentation where it states how I should define my 
datasource(s).

Normally with only JDBC it works using the "default" datasource but in this 
case I mix JDBC and Reactive interfaces and turning of JDBC is not working

quarkus.datasource.jdbc = false

I have also tried to Inject AgroalDatasource and use that as the pointer to SQL 
component but it doesn't work.

It seems that Camel is hard-wired using a JDBC connection but if I define it I 
will break my Reactive connection it seems.

"Caused by: io.quarkus.runtime.configuration.ConfigurationException: Unable to 
find a JDBC driver corresponding to the database kind 'postgresql' for the 
default datasource. Either provide a suitable JDBC driver extension, define the 
driver manually, or disable the JDBC datasource by adding 
'quarkus.datasource.jdbc=false' to your configuration if you don't need it."

Any clues?
M

Reply via email to