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 13:59:56 UTC
[camel] branch main updated: CAMEL-19668: do not create singleton service instances by default (#10858)
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 4e264027a4d CAMEL-19668: do not create singleton service instances by default (#10858)
4e264027a4d is described below
commit 4e264027a4d01ae50b0045327d0633981f555679
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Thu Jul 27 15:59:50 2023 +0200
CAMEL-19668: do not create singleton service instances by default (#10858)
---
.../camel/test/infra/artemis/services/ArtemisServiceFactory.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisServiceFactory.java b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisServiceFactory.java
index bf228731fcf..7a656fa5956 100644
--- a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisServiceFactory.java
+++ b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisServiceFactory.java
@@ -85,11 +85,11 @@ public final class ArtemisServiceFactory {
}
public static synchronized ArtemisService createVMService() {
- return createSingletonVMService();
+ return new ArtemisVMService();
}
public static synchronized ArtemisService createPersistentVMService() {
- return createSingletonPersistentVMService();
+ return new ArtemisPersistentVMService();
}
public static ArtemisService createAMQPService() {