caigy commented on issue #4339:
URL: https://github.com/apache/rocketmq/issues/4339#issuecomment-1135327791

   @fll666888 Is it in 
`com.example.demo.controller.RocketmqController#transactionSendMessage`? It 
seems that the producer is a local variable in this method, which will be 
cleared after the method exits. So you may find that messages could be sent 
normally, but the recheck process (occurred after the method exited) was failed 
for related objects were not alive.
   You may hold the producer in a static filed and try again.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to