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

tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new a0b3a29ea6 ARTEMIS-5596 new client w/old broker chokes on null 
ConfigurationManaged flag
a0b3a29ea6 is described below

commit a0b3a29ea6e0b2d97d6a8a82a62c936e8d3bb3ac
Author: Justin Bertram <[email protected]>
AuthorDate: Tue Jul 29 12:41:51 2025 -0500

    ARTEMIS-5596 new client w/old broker chokes on null ConfigurationManaged 
flag
---
 .../java/org/apache/activemq/artemis/jms/client/ActiveMQSession.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQSession.java
 
b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQSession.java
index 419eddbab1..518dabfe1b 100644
--- 
a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQSession.java
+++ 
b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQSession.java
@@ -999,7 +999,7 @@ public class ActiveMQSession implements QueueSession, 
TopicSession {
 
                   boolean topicChanged = 
!oldTopicName.equals(dest.getSimpleAddress());
 
-                  if ((selectorChanged || topicChanged) && 
!subResponse.isConfigurationManaged()) {
+                  if ((selectorChanged || topicChanged) && 
!Boolean.TRUE.equals(subResponse.isConfigurationManaged())) {
                      // Delete the old durable sub
                      session.deleteQueue(queueName);
 


---------------------------------------------------------------------
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