xiangwangcheng commented on issue #1588: Retry doesn't work when sending msg in 
aync mode(eg. when broker is down)
URL: https://github.com/apache/rocketmq/issues/1588#issuecomment-556819317
 
 
   No, if no exception is thrown during the sending process, the message will 
not be sent again.
   ```                      
   switch (communicationMode) {
                               case ASYNC:
                                   return null;
                               case ONEWAY:
                                   return null;
                               case SYNC:
                                   if (sendResult.getSendStatus() != 
SendStatus.SEND_OK) {
                                       if 
(this.defaultMQProducer.isRetryAnotherBrokerWhenNotStoreOK()) {
                                           continue;
                                       }
                                   }
   
                                   return sendResult;
                               default:
                                   break;
   ```

----------------------------------------------------------------
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