zangyk commented on issue #264: ConsumeMessageOrderlyService  can use 
ReentrantLock 
URL: https://github.com/apache/rocketmq/issues/264#issuecomment-377421278
 
 
    ReentrantLock objLock = messageQueueLock.fetchLockObject(this.messageQueue);
   if(objLock.tryLock())
   {
     .....
   }else
   {
    
ConsumeMessageOrderlyService.this.submitConsumeRequestLater(this.messageQueue,this.processQueu,10);
   }

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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