yx9o commented on code in PR #9924:
URL: https://github.com/apache/rocketmq/pull/9924#discussion_r2619339210
##########
client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:
##########
@@ -1442,6 +1442,15 @@ public TransactionSendResult
sendMessageInTransaction(final Message msg,
if (msg.getDelayTimeLevel() != 0) {
MessageAccessor.clearProperty(msg,
MessageConst.PROPERTY_DELAY_TIME_LEVEL);
}
+ if (msg.getDelayTimeMs() != 0) {
+ MessageAccessor.clearProperty(msg,
MessageConst.PROPERTY_TIMER_DELAY_MS);
Review Comment:
I've thought about that too. Currently, the processing is consistent with
the existing level. But if an exception is thrown, will there be semantic
differences after the user upgrades?
--
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]