You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/01/10 13:23:44 UTC

[camel] 04/04: CAMEL-15724: camel-cdi-jta - To decouple CDI from JTA

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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1e4dbe2fa2181a74bf5dc16d7fe3c3a5475178e0
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Jan 10 14:22:24 2022 +0100

    CAMEL-15724: camel-cdi-jta - To decouple CDI from JTA
---
 bom/camel-bom/pom.xml                                     |  5 +++++
 .../resources/org/apache/camel/catalog/others.properties  |  1 +
 .../org/apache/camel/catalog/others/cdi-jta.json          | 15 +++++++++++++++
 docs/components/modules/others/examples/json/cdi-jta.json |  1 +
 docs/components/modules/others/nav.adoc                   |  1 +
 docs/components/modules/others/pages/cdi-jta.adoc         |  1 +
 6 files changed, 24 insertions(+)

diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml
index 874c891..4f93ec4 100644
--- a/bom/camel-bom/pom.xml
+++ b/bom/camel-bom/pom.xml
@@ -418,6 +418,11 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
+        <artifactId>camel-cdi-jta</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
         <artifactId>camel-cdi-main</artifactId>
         <version>${project.version}</version>
       </dependency>
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
index a70d3b7..b02dc37 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
@@ -2,6 +2,7 @@ attachments
 aws-xray
 caffeine-lrucache
 cdi
+cdi-jta
 cdi-main
 csimple-joor
 cxf-transport
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/cdi-jta.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/cdi-jta.json
new file mode 100644
index 0000000..69f97b2
--- /dev/null
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/cdi-jta.json
@@ -0,0 +1,15 @@
+{
+  "other": {
+    "kind": "other",
+    "name": "cdi-jta",
+    "title": "CDI JTA",
+    "description": "JTA Transaction support for Camel CDI",
+    "deprecated": false,
+    "firstVersion": "3.15.0",
+    "label": "java",
+    "supportLevel": "Preview",
+    "groupId": "org.apache.camel",
+    "artifactId": "camel-cdi-jta",
+    "version": "3.15.0-SNAPSHOT"
+  }
+}
diff --git a/docs/components/modules/others/examples/json/cdi-jta.json b/docs/components/modules/others/examples/json/cdi-jta.json
new file mode 120000
index 0000000..37ac943
--- /dev/null
+++ b/docs/components/modules/others/examples/json/cdi-jta.json
@@ -0,0 +1 @@
+../../../../../../components/camel-cdi-jta/src/generated/resources/cdi-jta.json
\ No newline at end of file
diff --git a/docs/components/modules/others/nav.adoc b/docs/components/modules/others/nav.adoc
index 11fa744..9126502 100644
--- a/docs/components/modules/others/nav.adoc
+++ b/docs/components/modules/others/nav.adoc
@@ -6,6 +6,7 @@
 ** xref:aws-xray.adoc[AWS XRay]
 ** xref:caffeine-lrucache.adoc[Caffeine Lrucache]
 ** xref:cdi.adoc[CDI]
+** xref:cdi-jta.adoc[CDI JTA]
 ** xref:cdi-main.adoc[CDI Main]
 ** xref:csimple-joor.adoc[CSimple jOOR]
 ** xref:cxf-transport.adoc[CXF Transport]
diff --git a/docs/components/modules/others/pages/cdi-jta.adoc b/docs/components/modules/others/pages/cdi-jta.adoc
new file mode 120000
index 0000000..c73cf20
--- /dev/null
+++ b/docs/components/modules/others/pages/cdi-jta.adoc
@@ -0,0 +1 @@
+../../../../../components/camel-cdi-jta/src/main/docs/cdi-jta.adoc
\ No newline at end of file