You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by "gemmellr (via GitHub)" <gi...@apache.org> on 2023/08/31 09:19:16 UTC

[GitHub] [activemq-artemis] gemmellr commented on a diff in pull request #4597: ARTEMIS-4410 - for exclusive queues, gate dispatch on no outstanding …

gemmellr commented on code in PR #4597:
URL: https://github.com/apache/activemq-artemis/pull/4597#discussion_r1311338687


##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java:
##########
@@ -1434,6 +1436,10 @@ private boolean canDispatch() {
             return false;
          }
 
+         if (isExclusive() && hasExclusivePendingDeliveries()) {
+            return false;
+         }

Review Comment:
   Doesnt this mean it will only send 1 outstanding message at a time? That doesnt seem desirable?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org