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/07 03:00:31 UTC

[GitHub] laiyy0728 opened a new issue #392: A problem when using TransactionProducer (4.3.0-Release)

laiyy0728 opened a new issue #392: A problem when using TransactionProducer (4.3.0-Release)
URL: https://github.com/apache/rocketmq/issues/392
 
 
   When implementing the Transaction demo of Java, there is a question: the **ExecutorService** that implements a ThreadPool is passed to the **TransactionMQProducer**. 
   When producer shutdown , is throw a Exception of NullPointException.
   Check source code and found in the destroyTransactionEnv of  DefaultMQProducerImpl checkRequestQueue is null. And found in the initTransactionEnv of DefaultMQProducerImpl, after initializing the executorService, the checkRequestQueue will not be initialized, causing it to be empty. And no manually added position in TransactionProducer. How can I solve this problem?
   

----------------------------------------------------------------
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