mrhbj opened a new pull request #3578:
URL: https://github.com/apache/rocketmq/pull/3578


   DefaultMQProducerImpl .java
   code1:
   public class DefaultMQProducerImpl implements MQProducerInner { private 
final InternalLogger log = ClientLogger.getLog(); private final Random random = 
new Random();
   
   code2:
   private SendResult sendDefaultImpl(
   Message msg,
   final CommunicationMode communicationMode,
   final SendCallback sendCallback,
   final long timeout
   ) throws MQClientException, RemotingException, MQBrokerException, 
InterruptedException {
   this.makeSureStateOK();
   Validators.checkMessage(msg, this.defaultMQProducer);
   final long invokeID = random.nextLong();


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


Reply via email to