You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "Mark Yang (JIRA)" <ji...@apache.org> on 2017/12/08 02:34:00 UTC
[jira] [Created] (ROCKETMQ-326) In “TransactionMQProducer”, the “TransactionCheckListener” has to be set, but it never been used.
Mark Yang created ROCKETMQ-326:
----------------------------------
Summary: In “TransactionMQProducer”, the “TransactionCheckListener” has to be set, but it never been used.
Key: ROCKETMQ-326
URL: https://issues.apache.org/jira/browse/ROCKETMQ-326
Project: Apache RocketMQ
Issue Type: Bug
Components: rocketmq-broker, rocketmq-client
Affects Versions: 4.1.0-incubating, 4.0.0-incubating
Reporter: Mark Yang
Assignee: yukon
In the "org.apache.rocketmq.example.transaction" package, there is a demo showing how to use TransctionMQProducer. We could check the problem based on the code.
The “TransactionCheckListener” has to be set, or we will got a MQClientException when running the producer. but this funciton never been used.
The trigger of this function is in org.apache.rocketmq.broker.client.net, The Broker2Client Class's checkProducerTransactionState function, but it never been called.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)