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:
[email protected]
With regards,
Apache Git Services