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 2020/03/31 02:38:06 UTC

[GitHub] [rocketmq] quqiangsheng opened a new issue #1896: RocketMQLocalTransactionListener checkLocalTransaction number of times

quqiangsheng opened a new issue #1896: RocketMQLocalTransactionListener checkLocalTransaction  number of times 
URL: https://github.com/apache/rocketmq/issues/1896
 
 
   I hope to get the data of the number of times the transaction is backchecked when the transaction is backchecked, so as to facilitate the subsequent judgment. For example, when the transaction is backchecked more than three times, the transaction is rolled back and logged.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

[GitHub] [rocketmq] quqiangsheng commented on issue #1896: RocketMQLocalTransactionListener checkLocalTransaction number of times

Posted by GitBox <gi...@apache.org>.
quqiangsheng commented on issue #1896: RocketMQLocalTransactionListener checkLocalTransaction  number of times 
URL: https://github.com/apache/rocketmq/issues/1896#issuecomment-606605190
 
 
   I found a solution
   i use rocketmq-spring-boot-starter.version  2.1.0
   when implement  RocketMQLocalTransactionListener checkLocalTransaction(Message msg) method 
   String checkTimes = (String) msg.getHeaders().get(MessageConst.PROPERTY_TRANSACTION_CHECK_TIMES);
   if use rocketmq-client   I think it's easier
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

[GitHub] [rocketmq] quqiangsheng closed issue #1896: RocketMQLocalTransactionListener checkLocalTransaction number of times

Posted by GitBox <gi...@apache.org>.
quqiangsheng closed issue #1896: RocketMQLocalTransactionListener checkLocalTransaction  number of times 
URL: https://github.com/apache/rocketmq/issues/1896
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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