wy96f opened a new pull request #2703: ARTEMIS-2380 Fix delivering message in 
the case of consume close
URL: https://github.com/apache/activemq-artemis/pull/2703
 
 
   When consumer is closed and transaction is not committed or rollbacked, the 
msg acked is not showed by delivering message but counted by delivering count.
   
   We add closed consumer if any message is acked but not committed or 
rollbacked, and remove closed consumer if transaction is finished. In this way, 
delivering messages can be properly retained.
   
   During calling hasCosnumer and getConsumerId, there is some race condition 
that emptyConsumerId is called causing following getConsumerId throws 
IllegalStateException. Also optimize it without extra effort.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to