This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new d152c53 Fix typo in URI option in SQL extension configuration docs
d152c53 is described below
commit d152c530d6fce7731182c7160e0c11d906c9056b
Author: James Netherton <[email protected]>
AuthorDate: Thu May 13 12:52:34 2021 +0100
Fix typo in URI option in SQL extension configuration docs
---
docs/modules/ROOT/pages/reference/extensions/sql.adoc | 2 +-
extensions/sql/runtime/src/main/doc/configuration.adoc | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/modules/ROOT/pages/reference/extensions/sql.adoc
b/docs/modules/ROOT/pages/reference/extensions/sql.adoc
index 9bdc7da..7a44f75 100644
--- a/docs/modules/ROOT/pages/reference/extensions/sql.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/sql.adoc
@@ -56,7 +56,7 @@ quarkus.datasource.jdbc.max-size=16
----
The Camel SQL component will automatically resolve the `DataSource` bean from
the registry. When configuring multiple datasources, you can specify which one
is to be used on an SQL endpoint via
-the URI options `datasource` or `dataSource`. Refer to the SQL component
documentation for more details.
+the URI options `datasource` or `dataSourceRef`. Refer to the SQL component
documentation for more details.
=== SQL scripts
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.
diff --git a/extensions/sql/runtime/src/main/doc/configuration.adoc
b/extensions/sql/runtime/src/main/doc/configuration.adoc
index fd776a0..6b4075b 100644
--- a/extensions/sql/runtime/src/main/doc/configuration.adoc
+++ b/extensions/sql/runtime/src/main/doc/configuration.adoc
@@ -12,7 +12,7 @@ quarkus.datasource.jdbc.max-size=16
----
The Camel SQL component will automatically resolve the `DataSource` bean from
the registry. When configuring multiple datasources, you can specify which one
is to be used on an SQL endpoint via
-the URI options `datasource` or `dataSource`. Refer to the SQL component
documentation for more details.
+the URI options `datasource` or `dataSourceRef`. Refer to the SQL component
documentation for more details.
=== SQL scripts
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.
@@ -21,4 +21,4 @@ Note that URI schemes such as `file` or `http` do not need to
be listed.
[source,properties]
----
quarkus.camel.sql.script-files = queries.sql, classpath:sql/insert.sql
-----
\ No newline at end of file
+----