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/11/13 08:50:20 UTC

[GitHub] [rocketmq] liruhui opened a new issue #2428: TranscationalMessage Error

liruhui opened a new issue #2428:
URL: https://github.com/apache/rocketmq/issues/2428


   *  look here
   ```java
   rocketMQTemplate.sendMessageInTransaction("xxxxx","sendTranscationMessage",message,null);
   ```
   
   * error info 
   ```json
   {
     "timestamp": 1605257379871,
     "status": 500,
     "error": "Internal Server Error",
     "message": "Can not found MQProducer 'xxxxx' in cache! please define @RocketMQLocalTransactionListener class or invoke createOrGetStartedTransactionMQProducer() to create it firstly",
     "path": "/sendTranscationMessage"
   }
   ```
   
   
   
   


----------------------------------------------------------------
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 #2428: TranscationalMessage Error

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


   


----------------------------------------------------------------
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] xiao-ma-nong commented on issue #2428: TranscationalMessage Error

Posted by GitBox <gi...@apache.org>.
xiao-ma-nong commented on issue #2428:
URL: https://github.com/apache/rocketmq/issues/2428#issuecomment-753448789


   > * 看这里
   > 
   > ```java
   > rocketMQTemplate 。sendMessageInTransaction(“ xxxxx ”,“ sendTranscationMessage ”,message,null);
   > ```
   > 
   > * 错误信息
   > 
   > ```json
   > {
   >    “ timestamp ”:1605257379871,
   >    “ status ”:500,
   >    “ error ”:“ Internal Server Error ”,
   >    “ message ”:“在缓存中找不到MQProducer'xxxxx'!请定义@RocketMQLocalTransactionListener类或调用createOrGetStartedTransactionMQProducer()创建首先“”,
   >    “ path ”:“ / sendTranscationMessage ” 
   > }
   > ```
   
   解决了吗??(already settled? ?)


----------------------------------------------------------------
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 #2428: TranscationalMessage Error

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


   Plz submit an issue to [rocketmq-spring](https://github.com/apache/rocketmq-spring).
   


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