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/10/27 02:33:54 UTC

[GitHub] [rocketmq-client-go] Git-Yang commented on a change in pull request #663: [ISSUE #661] Message sending supports the specified queue

Git-Yang commented on a change in pull request #663:
URL: https://github.com/apache/rocketmq-client-go/pull/663#discussion_r693741575



##########
File path: producer/producer.go
##########
@@ -163,35 +168,77 @@ func (p *defaultProducer) SendSync(ctx context.Context, msgs ...*primitive.Messa
 			var err error
 			realReq := req.(*primitive.Message)
 			realReply := reply.(*primitive.SendResult)
-			err = p.sendSync(ctx, realReq, realReply)
+			return p.sendSyncWithQueue(ctx, mq, realReq, realReply)
 			return err

Review comment:
       Why remove this line?




-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org