You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2018/08/16 02:53:57 UTC

[GitHub] duhengforever commented on a change in pull request #398: [ISSUE #395]Resolve compatibility issues and keep consistent with the old API

duhengforever commented on a change in pull request #398: [ISSUE #395]Resolve compatibility issues and keep consistent with the old API
URL: https://github.com/apache/rocketmq/pull/398#discussion_r210465023
 
 

 ##########
 File path: client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java
 ##########
 @@ -1124,7 +1149,12 @@ public TransactionSendResult sendMessageInTransaction(final Message msg,
                     if (null != transactionId && !"".equals(transactionId)) {
                         msg.setTransactionId(transactionId);
                     }
-                    localTransactionState = tranExecuter.executeLocalTransaction(msg, arg);
+                    if (null != localTransactionExecuter) {
 
 Review comment:
   For keep consistency with previous code 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services