[ 
https://issues.apache.org/jira/browse/ARTEMIS-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17435466#comment-17435466
 ] 

Gary Tully commented on ARTEMIS-1925:
-------------------------------------

verifying again the code, and your observation, I think there is indeed a bug 
here, OFF_WITH_REDISTRIBUTION is behaving like ON_DEMAND b/c there is only a 
check for OFF, and there needs to be an additional check for the new value.

The problem is: 
https://github.com/apache/activemq-artemis/blob/main/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/impl/RemoteQueueBindingImpl.java#L157

> Allow message redistribution even with OFF message-load-balancing semantics
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1925
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1925
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Justin Bertram
>            Assignee: Gary Tully
>            Priority: Major
>             Fix For: 2.19.0
>
>          Time Spent: 9h 50m
>  Remaining Estimate: 0h
>
> Currently if the {{message-load-balancing}} is {{STRICT}} or {{OFF}} then 
> message redistribution is disabled.  Message redistribution should be 
> controlled only by the {{redistribtion-delay}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to