This is an automated email from the ASF dual-hosted git repository.

cshannon pushed a commit to branch activemq-5.19.x
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/activemq-5.19.x by this push:
     new f01a875a5a Fix test by enabling allowTempDestinationStealing (#2146) 
(#2151)
f01a875a5a is described below

commit f01a875a5a06136998f6a60dbbb718a132e4272c
Author: Christopher L. Shannon <[email protected]>
AuthorDate: Tue Jun 23 16:03:49 2026 -0400

    Fix test by enabling allowTempDestinationStealing (#2146) (#2151)
    
    Fixes TwoSecureBrokerRequestReplyTest that was broken by #2122 . The test 
requires allowTempDestinationStealing to be enabled to work.
    
    (cherry picked from commit d4c0b3c213cdfd8f6c15b3737c178440d2542f11)
---
 .../resources/org/apache/activemq/usecases/receiver-secured.xml   | 8 ++++++++
 .../resources/org/apache/activemq/usecases/sender-secured.xml     | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git 
a/activemq-unit-tests/src/test/resources/org/apache/activemq/usecases/receiver-secured.xml
 
b/activemq-unit-tests/src/test/resources/org/apache/activemq/usecases/receiver-secured.xml
index 33b5a2ee1a..7d509cb5ba 100644
--- 
a/activemq-unit-tests/src/test/resources/org/apache/activemq/usecases/receiver-secured.xml
+++ 
b/activemq-unit-tests/src/test/resources/org/apache/activemq/usecases/receiver-secured.xml
@@ -73,6 +73,14 @@
       <transportConnector uri="tcp://localhost:62002"/>
     </transportConnectors>
 
+    <destinationPolicy>
+      <policyMap>
+        <policyEntries>
+          <policyEntry tempQueue="true" allowTempDestinationStealing="true"/>
+        </policyEntries>
+      </policyMap>
+    </destinationPolicy>
+
   </broker>
 
 </beans>
diff --git 
a/activemq-unit-tests/src/test/resources/org/apache/activemq/usecases/sender-secured.xml
 
b/activemq-unit-tests/src/test/resources/org/apache/activemq/usecases/sender-secured.xml
index 0eb9562d33..5223a23fe1 100644
--- 
a/activemq-unit-tests/src/test/resources/org/apache/activemq/usecases/sender-secured.xml
+++ 
b/activemq-unit-tests/src/test/resources/org/apache/activemq/usecases/sender-secured.xml
@@ -77,6 +77,14 @@
       <transportConnector uri="tcp://localhost:62001"/>
     </transportConnectors>
 
+    <destinationPolicy>
+      <policyMap>
+        <policyEntries>
+          <policyEntry tempQueue="true" allowTempDestinationStealing="true"/>
+        </policyEntries>
+      </policyMap>
+    </destinationPolicy>
+
   </broker>
 
 </beans>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to