This is an automated email from the ASF dual-hosted git repository.
cshannon pushed a commit to branch activemq-6.2.x
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/activemq-6.2.x by this push:
new de041ee012 Fix test by enabling allowTempDestinationStealing (#2146)
(#2150)
de041ee012 is described below
commit de041ee01282d1415b3d8f4e241853e06c4a9807
Author: Christopher L. Shannon <[email protected]>
AuthorDate: Tue Jun 23 16:03:25 2026 -0400
Fix test by enabling allowTempDestinationStealing (#2146) (#2150)
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