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

clebertsuconic 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 48f17e9986 ARTEMIS-4718 Diverted messages are not propertly routed on 
cluster remote bindings
48f17e9986 is described below

commit 48f17e998649b95cb5beee34f520aaec544b447b
Author: Clebert Suconic <[email protected]>
AuthorDate: Wed Apr 10 12:26:27 2024 -0400

    ARTEMIS-4718 Diverted messages are not propertly routed on cluster remote 
bindings
    
    I commented the fix to validate the test and I accidently committed the 
commented out version
---
 .../java/org/apache/activemq/artemis/core/server/impl/DivertImpl.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/DivertImpl.java
 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/DivertImpl.java
index be411303c8..ff622fd87a 100644
--- 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/DivertImpl.java
+++ 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/DivertImpl.java
@@ -118,7 +118,7 @@ public class DivertImpl implements Divert {
 
             //This header could be set if the message is redistributed from a 
clustered broker.
             //It needs to be removed as it will interfere with upcoming routing
-            //copy.removeExtraBytesProperty(Message.HDR_ROUTE_TO_IDS);
+            copy.removeExtraBytesProperty(Message.HDR_ROUTE_TO_IDS);
 
             switch (routingType) {
                case ANYCAST:

Reply via email to