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


The following commit(s) were added to refs/heads/main by this push:
     new 74236b7ffc7 CAMEL-20477: fixed incorrect lifecycle for the Artemis 
service
74236b7ffc7 is described below

commit 74236b7ffc72ad72066eef52a07868a5bdb24fb8
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Tue Mar 19 10:59:16 2024 +0100

    CAMEL-20477: fixed incorrect lifecycle for the Artemis service
---
 .../src/test/java/org/apache/camel/component/jms/JmsComponentTest.java  | 2 +-
 .../org/apache/camel/component/jms/temp/JmsReconnectManualTest.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentTest.java
 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentTest.java
index b77034e5c77..3c45af13e76 100644
--- 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentTest.java
+++ 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentTest.java
@@ -37,7 +37,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 public class JmsComponentTest extends CamelTestSupport {
 
     @RegisterExtension
-    public ArtemisService service = ArtemisServiceFactory.createVMService();
+    public static ArtemisService service = 
ArtemisServiceFactory.createVMService();
 
     protected final String componentName = "activemq123";
     protected JmsEndpoint endpoint;
diff --git 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsReconnectManualTest.java
 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsReconnectManualTest.java
index 73aa2894065..f45253d8cf1 100644
--- 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsReconnectManualTest.java
+++ 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsReconnectManualTest.java
@@ -37,7 +37,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class JmsReconnectManualTest {
 
     @RegisterExtension
-    public ArtemisService service = ArtemisServiceFactory.createVMService();
+    public static ArtemisService service = 
ArtemisServiceFactory.createVMService();
 
     public interface MyService {
         String echo(String st);

Reply via email to