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 179b36f9fa Remove superfluous saga XML DSL tests
179b36f9fa is described below
commit 179b36f9fa8b6b92ba2f7908a94b7ef2ce8646be
Author: James Netherton <[email protected]>
AuthorDate: Tue Mar 17 10:41:26 2026 +0000
Remove superfluous saga XML DSL tests
---
integration-tests/saga/pom.xml | 17 -------
.../saga/src/main/resources/application.properties | 3 +-
.../saga/src/main/resources/routes/saga-routes.xml | 54 ----------------------
.../camel/quarkus/component/saga/it/SagaTest.java | 18 --------
4 files changed, 1 insertion(+), 91 deletions(-)
diff --git a/integration-tests/saga/pom.xml b/integration-tests/saga/pom.xml
index d6ed65d93a..70412bb4fd 100644
--- a/integration-tests/saga/pom.xml
+++ b/integration-tests/saga/pom.xml
@@ -59,10 +59,6 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jackson</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-xml-io-dsl</artifactId>
- </dependency>
<!-- Messaging extension to test -->
<dependency>
@@ -209,19 +205,6 @@
</exclusion>
</exclusions>
</dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
-
<artifactId>camel-quarkus-xml-io-dsl-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
</dependencies>
</profile>
<profile>
diff --git a/integration-tests/saga/src/main/resources/application.properties
b/integration-tests/saga/src/main/resources/application.properties
index af4a30346b..52965e081e 100644
--- a/integration-tests/saga/src/main/resources/application.properties
+++ b/integration-tests/saga/src/main/resources/application.properties
@@ -15,5 +15,4 @@
## limitations under the License.
## ---------------------------------------------------------------------------
quarkus.artemis.devservices.extra-args=--no-autotune --mapped --no-fsync
--java-options=-Dbrokerconfig.maxDiskUsage=-1
-quarkus.artemis.enabled=true
-camel.main.routes-include-pattern = routes/saga-routes.xml
\ No newline at end of file
+quarkus.artemis.enabled=true
\ No newline at end of file
diff --git a/integration-tests/saga/src/main/resources/routes/saga-routes.xml
b/integration-tests/saga/src/main/resources/routes/saga-routes.xml
deleted file mode 100644
index 49306533e4..0000000000
--- a/integration-tests/saga/src/main/resources/routes/saga-routes.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<routes>
- <route>
- <from uri="direct:xmlSaga"/>
- <saga>
- <compensation uri="direct:xmlCompensation" />
- <completion uri="direct:xmlCompletion" />
- <option key="shouldComplete">
- <header>complete</header>
- </option>
- </saga>
- <to uri="direct:xmlAction" />
- </route>
-
- <route>
- <from uri="direct:xmlAction" />
- <log message="Xml action" />
- <choice>
- <when>
- <simple>${header.complete} == false</simple>
- <throwException exceptionType="java.lang.RuntimeException"
message="Intended xml exception"/>
- </when>
- </choice>
- </route>
-
- <route>
- <from uri="direct:xmlCompensation" />
- <log message="Xml compensation" />
- </route>
-
- <route>
- <from uri="direct:xmlCompletion" />
- <log message="Xml completion" />
- <to uri="bean:lraService?method=xmlComplete"/>
- </route>
-</routes>
diff --git
a/integration-tests/saga/src/test/java/org/apache/camel/quarkus/component/saga/it/SagaTest.java
b/integration-tests/saga/src/test/java/org/apache/camel/quarkus/component/saga/it/SagaTest.java
index d45427e066..bdd97e3a54 100644
---
a/integration-tests/saga/src/test/java/org/apache/camel/quarkus/component/saga/it/SagaTest.java
+++
b/integration-tests/saga/src/test/java/org/apache/camel/quarkus/component/saga/it/SagaTest.java
@@ -152,22 +152,4 @@ class SagaTest {
.statusCode(200)
.body(Matchers.is("false"));
}
-
- @Test
- public void testXmlDslSuccess() throws InterruptedException {
-
- RestAssured.get("/saga/xmlSaga/true")
- .then()
- .statusCode(200)
- .body(Matchers.is("true"));
- }
-
- @Test
- public void testXmlDslFailure() throws InterruptedException {
- RestAssured.get("/saga/xmlSaga/false")
- .then()
- .statusCode(500)
- .body(Matchers.is("Intended xml exception"));
- }
-
}