anjieych opened a new issue, #890:
URL: https://github.com/apache/rocketmq-client-go/issues/890
**BUG REPORT**
1. Please describe the issue you observed:
- consumer send reply message (eg: "This's my answer") with RPC mode.
- producer shoud get response message which body is "This's my answer" .
- producer received reply message with empty body.
2. Please tell us about your environment:
- mac 、centos、ubuntu
- client V2.1.1
- RocketMQ V4.9.2
3. Other information (e.g. detailed explanation, logs, related issues,
suggestions on how to fix, etc):
**FEATURE REQUEST**
1. The replyContent should be assigned to the Body field of the return value
replyMessage in the function CreateReplyMessage,but it's not.
[ replyMessage, err := consumer.CreateReplyMessage(msg,
replyContent)](url)
2. or, assign the replyContent to the Body field of replyMessage after call
function CreateReplyMessage in manual before send out,like this:
replyMessage, err := consumer.CreateReplyMessage(msg, replyContent)
...
replyMessage.Body=replyContent
...
// send out
--
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]