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

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

commit 62a3aeb93a585d9d64345f76ac465d9b6d2b5130
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Wed Mar 6 17:06:12 2024 +0100

    CAMEL-20479: fixed CXF test affected by delaying broker configuration
---
 .../org/apache/camel/component/cxf/jms/CxfEndpointJMSConsumerTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/jms/CxfEndpointJMSConsumerTest.java
 
b/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/jms/CxfEndpointJMSConsumerTest.java
index d696f840607..5d09bcbc801 100644
--- 
a/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/jms/CxfEndpointJMSConsumerTest.java
+++ 
b/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/jms/CxfEndpointJMSConsumerTest.java
@@ -35,7 +35,8 @@ public class CxfEndpointJMSConsumerTest extends 
CamelSpringTestSupport {
 
     @RegisterExtension
     private static ArtemisService broker = 
ArtemisServiceFactory.createVMService();
-    static {
+
+    CxfEndpointJMSConsumerTest() {
         System.setProperty("CxfEndpointJMSConsumerTest.serviceAddress", 
broker.serviceAddress());
     }
 

Reply via email to