Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-326

In “TransactionMQProducer”, the “TransactionCheckListener” has to be set, but it never been used.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0.0-incubating, 4.1.0-incubating
    • Fix Version/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              yukon Xinyu Zhou
              Reporter:
              mark_yang Mark Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: