You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by al...@apache.org on 2023/10/02 15:25:38 UTC

[camel-quarkus] branch 3.2.x updated: jta: fix dataSource bean reference in documentation (#5395) (#5396)

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

aldettinger pushed a commit to branch 3.2.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/3.2.x by this push:
     new 45d2206c45 jta: fix dataSource bean reference in documentation (#5395) (#5396)
45d2206c45 is described below

commit 45d2206c454fddc729e1c30ebb3541a91d6495f8
Author: Alexandre Gallice <al...@gmail.com>
AuthorDate: Mon Oct 2 17:25:31 2023 +0200

    jta: fix dataSource bean reference in documentation (#5395) (#5396)
---
 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")
 ----