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/05/25 09:38:48 UTC

[GitHub] [rocketmq-client-go] smiletrl commented on issue #668: [Master]How could I pass other arguments to ExecuteLocalTransaction function when I send transaction message

smiletrl commented on issue #668:
URL: https://github.com/apache/rocketmq-client-go/issues/668#issuecomment-847717847


   If you need pass simple data, a workaround is to pass the parameter through the message self. For example, if `order id` needs to be passed to `ExecuteLocalTransaction`, then `order id` can be encoded into message `msg *primitive.Message`. In `ExecuteLocalTransaction`, decode the message to get `order id`.


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