You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
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.
Any clues?
M
Beta Was this translation helpful? Give feedback.
All reactions