You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2024/02/21 10:44:21 UTC
(camel) 07/09: CAMEL-20410: documentation fixes for camel-jooq
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0a67b5071487c83db8d546a9fa15a6b738ae6497
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed Feb 21 11:07:29 2024 +0100
CAMEL-20410: documentation fixes for camel-jooq
- Fixed samples
- Fixed grammar and typos
- Fixed punctuation
- Added and/or fixed links
- Converted to use tabs
---
components/camel-jooq/src/main/docs/jooq-component.adoc | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/components/camel-jooq/src/main/docs/jooq-component.adoc b/components/camel-jooq/src/main/docs/jooq-component.adoc
index e155747d440..10eec0c6fd8 100644
--- a/components/camel-jooq/src/main/docs/jooq-component.adoc
+++ b/components/camel-jooq/src/main/docs/jooq-component.adoc
@@ -36,12 +36,14 @@ Result<Record> result = resultQuery.fetch();
== Plain SQL
SQL could be executed using JOOQ's objects "Query" or "ResultQuery".
-Also SQL query could be specified inside URI:
+Also, the SQL query could be specified inside URI:
+
[source,java]
----
from("jooq://org.apache.camel.component.jooq.db.tables.records.BookStoreRecord?query=select * from book_store x where x.name = 'test'").to("bean:myBusinessLogic");
----
-See examples below.
+
+See the examples below.
== Consuming from endpoint