This is an automated email from the ASF dual-hosted git repository.

aldettinger 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 5ec366c045 jta: fix dataSource bean reference in documentation (#5395)
5ec366c045 is described below

commit 5ec366c045d22afed3603302c457f3177f3c69ae
Author: Alexandre Gallice <aldettin...@gmail.com>
AuthorDate: Mon Oct 2 17:11:09 2023 +0200

    jta: fix dataSource bean reference in documentation (#5395)
---
 docs/modules/ROOT/pages/reference/extensions/jta.adoc | 4 ++--
 extensions/jta/runtime/src/main/doc/usage.adoc        | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/modules/ROOT/pages/reference/extensions/jta.adoc 
b/docs/modules/ROOT/pages/reference/extensions/jta.adoc
index c9ae97ef54..d7b24ea5c2 100644
--- a/docs/modules/ROOT/pages/reference/extensions/jta.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/jta.adoc
@@ -55,8 +55,8 @@ Refer to the https://quarkus.io/guides/transaction[Quarkus 
Transaction guide] fo
 ----
 from("direct:transaction")
     .transacted()
-    .to("sql:INSERT INTO A TABLE ...?dataSource=ds1")
-    .to("sql:INSERT INTO A TABLE ...?dataSource=ds2")
+    .to("sql:INSERT INTO A TABLE ...?dataSource=#ds1")
+    .to("sql:INSERT INTO A TABLE ...?dataSource=#ds2")
     .log("all data are in the ds1 and ds2")
 ----
 
diff --git a/extensions/jta/runtime/src/main/doc/usage.adoc 
b/extensions/jta/runtime/src/main/doc/usage.adoc
index 56c279f336..73d5564122 100644
--- a/extensions/jta/runtime/src/main/doc/usage.adoc
+++ b/extensions/jta/runtime/src/main/doc/usage.adoc
@@ -6,8 +6,8 @@ Refer to the https://quarkus.io/guides/transaction[Quarkus 
Transaction guide] fo
 ----
 from("direct:transaction")
     .transacted()
-    .to("sql:INSERT INTO A TABLE ...?dataSource=ds1")
-    .to("sql:INSERT INTO A TABLE ...?dataSource=ds2")
+    .to("sql:INSERT INTO A TABLE ...?dataSource=#ds1")
+    .to("sql:INSERT INTO A TABLE ...?dataSource=#ds2")
     .log("all data are in the ds1 and ds2")
 ----
 

Reply via email to