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 2023/07/27 15:37:26 UTC

[camel] branch main updated: CAMEL-19668: use singleton JMS service instance for regular JMS tests (#10864)

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 80d0fcc25ec CAMEL-19668: use singleton JMS service instance for regular JMS tests (#10864)
80d0fcc25ec is described below

commit 80d0fcc25ec647f1be9fd951da401ad2e5945030
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Thu Jul 27 17:37:19 2023 +0200

    CAMEL-19668: use singleton JMS service instance for regular JMS tests (#10864)
---
 .../src/test/java/org/apache/camel/component/jms/AbstractJMSTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/AbstractJMSTest.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/AbstractJMSTest.java
index 969e91c61e5..2ca048d4da2 100644
--- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/AbstractJMSTest.java
+++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/AbstractJMSTest.java
@@ -41,7 +41,7 @@ public abstract class AbstractJMSTest implements CamelTestSupportHelper, Configu
 
     @Order(1)
     @RegisterExtension
-    public static ArtemisService service = ArtemisServiceFactory.createVMService();
+    public static ArtemisService service = ArtemisServiceFactory.createSingletonVMService();
 
     public static String queueNameForClass(String desiredName, Class<?> requestingClass) {
         return desiredName + "." + requestingClass.getSimpleName();