You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2024/03/06 18:16:11 UTC

(camel) 08/08: CAMEL-20479: fixed SJMS2 test affected by delaying broker configuration

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 f3cdc897a94f69b769b713879de2940cc11b26a0
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed Mar 6 18:13:56 2024 +0100

    CAMEL-20479: fixed SJMS2 test affected by delaying broker configuration
---
 .../org/apache/camel/component/sjms2/Sjms2ComponentRestartTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-sjms2/src/test/java/org/apache/camel/component/sjms2/Sjms2ComponentRestartTest.java b/components/camel-sjms2/src/test/java/org/apache/camel/component/sjms2/Sjms2ComponentRestartTest.java
index 654f6f797c1..e7c9985c5cf 100644
--- a/components/camel-sjms2/src/test/java/org/apache/camel/component/sjms2/Sjms2ComponentRestartTest.java
+++ b/components/camel-sjms2/src/test/java/org/apache/camel/component/sjms2/Sjms2ComponentRestartTest.java
@@ -29,7 +29,7 @@ import org.junit.jupiter.api.extension.RegisterExtension;
 public class Sjms2ComponentRestartTest extends CamelTestSupport {
 
     @RegisterExtension
-    public ArtemisService service = ArtemisServiceFactory.createVMService();
+    public static ArtemisService service = ArtemisServiceFactory.createSingletonVMService();
 
     @BindToRegistry("activemqCF")
     private ActiveMQConnectionFactory connectionFactory