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/20 07:35:18 UTC

[GitHub] [rocketmq-spring] Bin2020 commented on issue #365: The response results of rocketmqtemplate and defaultmqproducer sendstatus are inconsistent

Bin2020 commented on issue #365:
URL: https://github.com/apache/rocketmq-spring/issues/365#issuecomment-844809132


   在org.apache.rocketmq.spring.support.RocketMQUtil#getAndWrapMessage方法下,WAIT_STORE_MSG_OK默认为false,但是设计上应该是想默认true的,是BUG吧。
   ```
   Object waitStoreMsgOkObj = headers.getOrDefault("WAIT_STORE_MSG_OK", "true");
   rocketMsg.setWaitStoreMsgOK(Boolean.TRUE.equals(waitStoreMsgOkObj)); // Boolean.TRUE.equals("true") always false
   ```


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