You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2025/10/22 14:33:43 UTC
(camel) branch main updated (ce5adc2bff23 -> 670fce1bfe74)
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
from ce5adc2bff23 CAMEL-22582 - Camel-Keycloak: Keycloak Introspector should provide di… (#19662)
new 7cf937b610f8 chore(ci): explicitly enable artemis infra native
new 670fce1bfe74 chore(components): identify cause of cxf flaky test
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
components/camel-activemq6/pom.xml | 3 ++-
components/camel-amqp/pom.xml | 7 ++++++-
components/camel-cxf/camel-cxf-spring-soap/pom.xml | 3 ++-
.../apache/camel/component/cxf/CxfMessageHeaderTimeoutTest.java | 8 +++++++-
.../camel-cxf-spring-soap/src/test/resources/log4j2.properties | 4 ++--
components/camel-jms/pom.xml | 3 ++-
components/camel-mllp/pom.xml | 2 ++
components/camel-paho/pom.xml | 2 ++
components/camel-sjms/pom.xml | 3 ++-
components/camel-sjms2/pom.xml | 2 ++
components/camel-stomp/pom.xml | 2 ++
11 files changed, 31 insertions(+), 8 deletions(-)
(camel) 01/02: chore(ci): explicitly enable artemis infra native
Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 7cf937b610f82a12c0c6b324367915e59ce98876
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Wed Oct 22 11:14:46 2025 +0200
chore(ci): explicitly enable artemis infra native
REF CAMEL-22584
---
components/camel-activemq6/pom.xml | 3 ++-
components/camel-amqp/pom.xml | 7 ++++++-
components/camel-cxf/camel-cxf-spring-soap/pom.xml | 3 ++-
components/camel-jms/pom.xml | 3 ++-
components/camel-mllp/pom.xml | 2 ++
components/camel-paho/pom.xml | 2 ++
components/camel-sjms/pom.xml | 3 ++-
components/camel-sjms2/pom.xml | 2 ++
components/camel-stomp/pom.xml | 2 ++
9 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/components/camel-activemq6/pom.xml b/components/camel-activemq6/pom.xml
index de430e8fc0cf..4aca3743ff4d 100644
--- a/components/camel-activemq6/pom.xml
+++ b/components/camel-activemq6/pom.xml
@@ -35,9 +35,10 @@
<properties>
<camel.surefire.parallel>true</camel.surefire.parallel>
-
<!-- Artemis container is not available on these platforms -->
<skipITs.s390x>true</skipITs.s390x>
+ <!-- Make use of native access during test execution only -->
+ <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs>
</properties>
<dependencies>
diff --git a/components/camel-amqp/pom.xml b/components/camel-amqp/pom.xml
index 2732a3bc4ac3..ee5936558b81 100644
--- a/components/camel-amqp/pom.xml
+++ b/components/camel-amqp/pom.xml
@@ -32,6 +32,11 @@
<name>Camel :: AMQP</name>
<description>Camel AMQP component which is based on the Apache Qpid project</description>
+ <properties>
+ <!-- Make use of native access during test execution only -->
+ <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
@@ -98,7 +103,7 @@
<scope>test</scope>
</dependency>
</dependencies>
-
+
<build>
<plugins>
<plugin>
diff --git a/components/camel-cxf/camel-cxf-spring-soap/pom.xml b/components/camel-cxf/camel-cxf-spring-soap/pom.xml
index dd1c9799b0ba..cc03bc239d2a 100644
--- a/components/camel-cxf/camel-cxf-spring-soap/pom.xml
+++ b/components/camel-cxf/camel-cxf-spring-soap/pom.xml
@@ -34,7 +34,8 @@
<properties>
<firstVersion>3.18.0</firstVersion>
- <camel.surefire.fork.vmargs>--add-opens java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED</camel.surefire.fork.vmargs>
+ <!-- Make use of native access during test execution only -->
+ <camel.surefire.fork.vmargs>--enable-native-access=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED</camel.surefire.fork.vmargs>
<camel.surefire.forkTimeout>300</camel.surefire.forkTimeout>
<camel.surefire.reuseForks>false</camel.surefire.reuseForks>
</properties>
diff --git a/components/camel-jms/pom.xml b/components/camel-jms/pom.xml
index 4ce66620c47f..c9d5b86244d0 100644
--- a/components/camel-jms/pom.xml
+++ b/components/camel-jms/pom.xml
@@ -38,7 +38,8 @@
<camel.surefire.forkTimeout>1200</camel.surefire.forkTimeout>
<camel.surefire.parallel>true</camel.surefire.parallel>
<camel.surefire.parallel.factor>0.5</camel.surefire.parallel.factor>
- <camel.surefire.fork.additional-vmargs>-Xmx1G</camel.surefire.fork.additional-vmargs>
+ <!-- Make use of native access during test execution only -->
+ <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED -Xmx1G</camel.surefire.fork.additional-vmargs>
<camel.failsafe.parallel>true</camel.failsafe.parallel>
<camel.failsafe.parallel.factor>0.5</camel.failsafe.parallel.factor>
diff --git a/components/camel-mllp/pom.xml b/components/camel-mllp/pom.xml
index 1f5a7f01358f..ba303aaee9f7 100644
--- a/components/camel-mllp/pom.xml
+++ b/components/camel-mllp/pom.xml
@@ -38,6 +38,8 @@
<camel.surefire.forkTimeout>1200</camel.surefire.forkTimeout>
<camel.surefire.parallel>true</camel.surefire.parallel>
<camel.surefire.parallel.factor>0.5</camel.surefire.parallel.factor>
+ <!-- Make use of native access during test execution only -->
+ <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs>
</properties>
<dependencies>
diff --git a/components/camel-paho/pom.xml b/components/camel-paho/pom.xml
index 762e6806ad89..8fb469480776 100644
--- a/components/camel-paho/pom.xml
+++ b/components/camel-paho/pom.xml
@@ -33,6 +33,8 @@
<description>Camel Eclipse Paho support</description>
<properties>
+ <!-- Make use of native access during test execution only -->
+ <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs>
</properties>
<dependencies>
diff --git a/components/camel-sjms/pom.xml b/components/camel-sjms/pom.xml
index 4c94b80a77f0..e0eeeac3beeb 100644
--- a/components/camel-sjms/pom.xml
+++ b/components/camel-sjms/pom.xml
@@ -37,7 +37,8 @@
<camel.surefire.forkTimeout>1200</camel.surefire.forkTimeout>
<camel.surefire.parallel>true</camel.surefire.parallel>
<camel.surefire.parallel.factor>0.5</camel.surefire.parallel.factor>
- <camel.surefire.fork.additional-vmargs>-Xmx1G</camel.surefire.fork.additional-vmargs>
+ <!-- Make use of native access during test execution only -->
+ <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED -Xmx1G</camel.surefire.fork.additional-vmargs>
</properties>
<dependencies>
diff --git a/components/camel-sjms2/pom.xml b/components/camel-sjms2/pom.xml
index c1a9855b0e15..bb09dfe02692 100644
--- a/components/camel-sjms2/pom.xml
+++ b/components/camel-sjms2/pom.xml
@@ -34,6 +34,8 @@
<properties>
<camel.surefire.forkTimeout>6000</camel.surefire.forkTimeout>
+ <!-- Make use of native access during test execution only -->
+ <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs>
</properties>
<dependencies>
diff --git a/components/camel-stomp/pom.xml b/components/camel-stomp/pom.xml
index 8cc223981b69..99418e9ecc27 100644
--- a/components/camel-stomp/pom.xml
+++ b/components/camel-stomp/pom.xml
@@ -33,6 +33,8 @@
<description>Camel Stomp client</description>
<properties>
+ <!-- Make use of native access during test execution only -->
+ <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs>
</properties>
<dependencies>
(camel) 02/02: chore(components): identify cause of cxf flaky test
Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 670fce1bfe747c688e04d103076103f279f89a32
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Wed Oct 22 12:41:59 2025 +0200
chore(components): identify cause of cxf flaky test
---
.../apache/camel/component/cxf/CxfMessageHeaderTimeoutTest.java | 8 +++++++-
.../camel-cxf-spring-soap/src/test/resources/log4j2.properties | 4 ++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/CxfMessageHeaderTimeoutTest.java b/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/CxfMessageHeaderTimeoutTest.java
index 08fd58c9e736..be7a0db902ac 100644
--- a/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/CxfMessageHeaderTimeoutTest.java
+++ b/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/CxfMessageHeaderTimeoutTest.java
@@ -34,6 +34,8 @@ import org.apache.cxf.transports.http.configuration.HTTPClientPolicy;
import org.apache.hello_world_soap_http.Greeter;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.springframework.context.support.AbstractXmlApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
@@ -41,6 +43,9 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
public class CxfMessageHeaderTimeoutTest extends CamelSpringTestSupport {
+
+ private static final Logger LOG = LoggerFactory.getLogger(CxfMessageHeaderTimeoutTest.class);
+
protected static final String GREET_ME_OPERATION = "greetMe";
protected static final String TEST_MESSAGE = "Hello World!";
protected static final String SERVER_ADDRESS
@@ -61,7 +66,8 @@ public class CxfMessageHeaderTimeoutTest extends CamelSpringTestSupport {
Exchange reply = sendJaxWsMessage(endpointUri);
Exception e = reply.getException();
assertNotNull(e, "We should get the exception cause here");
- assertTrue(e instanceof HttpTimeoutException, "We should get an http time out exception here");
+ assertTrue(e instanceof HttpTimeoutException,
+ String.format("Expected HttpTimeoutException, but got %s", e.getClass().getName()));
}
protected Exchange sendJaxWsMessage(String endpointUri) throws InterruptedException {
diff --git a/components/camel-cxf/camel-cxf-spring-soap/src/test/resources/log4j2.properties b/components/camel-cxf/camel-cxf-spring-soap/src/test/resources/log4j2.properties
index 614b2df0017b..6276b64a5417 100644
--- a/components/camel-cxf/camel-cxf-spring-soap/src/test/resources/log4j2.properties
+++ b/components/camel-cxf/camel-cxf-spring-soap/src/test/resources/log4j2.properties
@@ -27,9 +27,9 @@ appender.out.layout.pattern = %d [%-35.35t] %-5p %-30.30c{1} - %m%n
logger.spring.name = org.apache.activemq.spring
logger.spring.level = WARN
logger.cxf.name = org.apache.camel.component.cxf
-logger.cxf.level = INFO
+logger.cxf.level = DEBUG
logger.converter.name = org.apache.camel.impl.converter
logger.converter.level = WARN
-rootLogger.level = INFO
+rootLogger.level = DEBUG
rootLogger.appenderRef.file.ref = file
#rootLogger.appenderRef.out.ref = out