duhengforever commented on a change in pull request #358: [ISSUE #292] Add
support of transactional message feature
URL: https://github.com/apache/rocketmq/pull/358#discussion_r201389136
##########
File path:
example/src/main/java/org/apache/rocketmq/example/benchmark/TransactionProducer.java
##########
@@ -153,35 +150,37 @@ private static Message buildMessage(final int
messageSize) throws UnsupportedEnc
}
}
-class TransactionExecuterBImpl implements LocalTransactionExecuter {
-
- private boolean ischeck;
-
- public TransactionExecuterBImpl(boolean ischeck) {
- this.ischeck = ischeck;
- }
-
- @Override
- public LocalTransactionState executeLocalTransactionBranch(final Message
msg, final Object arg) {
- if (ischeck) {
- return LocalTransactionState.UNKNOW;
- }
- return LocalTransactionState.COMMIT_MESSAGE;
- }
-}
-
-class TransactionCheckListenerBImpl implements TransactionCheckListener {
+//class TransactionExecuterBImpl implements LocalTransactionExecuter {
Review comment:
The extra commented code has been removed in the latest commit,thanks for
your reminding.
----------------------------------------------------------------
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