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 <[email protected]>
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")));
 

Reply via email to