mwashburn2 opened a new pull request, #2816: URL: https://github.com/apache/activemq/pull/2816
afterMessageIsConsumed skipped ackCounter++ and the 65% prefetch check whenever deliverAcks held deliveryingAcknowledgements during its synchronous sendAck. Messages consumed in that window were never counted, so the consumer could fill its prefetch below the threshold and stall until the next optimizedAckScheduledAckInterval. Count every consumed message and re-check the threshold once the scheduled ack completes. Background acks (the scheduled tick and the re-check) no longer ack the message whose listener is still running. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information, visit: https://activemq.apache.org/contact
