lucastetreault commented on code in PR #848:
URL: https://github.com/apache/activemq/pull/848#discussion_r1065124586
##########
activemq-broker/src/main/java/org/apache/activemq/broker/region/Queue.java:
##########
@@ -2347,6 +2436,25 @@ public void
processDispatchNotification(MessageDispatchNotification messageDispa
Subscription sub =
getMatchingSubscription(messageDispatchNotification);
if (sub != null) {
MessageReference message =
getMatchingMessage(messageDispatchNotification);
+
+ pagedInMessagesLock.writeLock().lock();
Review Comment:
Oh - maybe a separate PR to clean up the unused code instead of fixing it?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]