SQL Extension
Since Camel Quarkus 1.0.0-M2
The SQL component allows you to work with databases using JDBC queries.
Maven users will need to add the following dependency to their pom.xml
for this extension.
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-sql</artifactId>
</dependency>
Usage
The extension provides support for the Camel SQL Component.
Configuration
When configuring sql
or sql-stored
endpoints to reference script files from the classpath, set the following configuration property to ensure that they are available in native mode.
Note that URI schemes such as file
or http
do not need to be listed.
quarkus.camel.sql.script-files = queries.sql, classpath:sql/insert.sql