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 2021/04/09 10:11:38 UTC

[GitHub] [rocketmq] zhaoyy0513 opened a new issue #2791: singleton RocketMQLocalTransactionListener,what can i do for two transcation

zhaoyy0513 opened a new issue #2791:
URL: https://github.com/apache/rocketmq/issues/2791


   My version is 4.8.0。
     I found the RocketMQTransactionConfiguration class have one function afterSingletonsInstantiated(),it make springboot can only have one RocketMQLocalTransactionListener bean。
     but if i want to have two transcation i can't do this;
   rocketMQTemplate.sendMessageInTransaction() only have 3 paremeters,and **@RocketMQTransactionListener** delete **txProducerGroup** parameter 
   How to find the matching transaction listener?
   Please do me a favor, thank you
   


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



[GitHub] [rocketmq] RongtongJin commented on issue #2791: singleton RocketMQLocalTransactionListener,what can i do for two transcation

Posted by GitBox <gi...@apache.org>.
RongtongJin commented on issue #2791:
URL: https://github.com/apache/rocketmq/issues/2791#issuecomment-817295153


   Hi @zhaoyy0513,you can use extra rocketmqtemplate to send transactional messages, refer to [rocketmq-spring wiki FAQ article 11](https://github.com/apache/rocketmq-spring/wiki/FAQ).


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



[GitHub] [rocketmq] RongtongJin commented on issue #2791: singleton RocketMQLocalTransactionListener,what can i do for two transcation

Posted by GitBox <gi...@apache.org>.
RongtongJin commented on issue #2791:
URL: https://github.com/apache/rocketmq/issues/2791#issuecomment-817430602


   I will close the issue first, Plz feel free to reopen it if you have other questions.


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



[GitHub] [rocketmq] RongtongJin closed issue #2791: singleton RocketMQLocalTransactionListener,what can i do for two transcation

Posted by GitBox <gi...@apache.org>.
RongtongJin closed issue #2791:
URL: https://github.com/apache/rocketmq/issues/2791


   


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