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 11:43:36 UTC

[camel] branch main updated: CAMEL-19666: stop auto-deleting queues (#10856)

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 6f74a63fb33 CAMEL-19666: stop auto-deleting queues (#10856)
6f74a63fb33 is described below

commit 6f74a63fb33879e1cdce70890f3f11cd438db8bc
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Thu Jul 27 13:43:30 2023 +0200

    CAMEL-19666: stop auto-deleting queues (#10856)
    
    When running with a lot of threads, sometimes the tests hang while the broker is auto-deleting queues/addresses
---
 .../org/apache/camel/test/infra/artemis/services/ArtemisVMService.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisVMService.java b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisVMService.java
index 77e5d96bcf9..c9d070b0fe2 100644
--- a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisVMService.java
+++ b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisVMService.java
@@ -48,6 +48,7 @@ public class ArtemisVMService extends AbstractArtemisEmbeddedService {
         configuration.addAddressSetting("#",
                 new AddressSettings()
                         .setAddressFullMessagePolicy(AddressFullMessagePolicy.FAIL)
+                        .setAutoDeleteQueues(false)
                         .setDeadLetterAddress(SimpleString.toSimpleString("DLQ"))
                         .setExpiryAddress(SimpleString.toSimpleString("ExpiryQueue")));