how to set user property “CHECK_IMMUNITY_TIME_IN_SECONDS”
transaction in rocketMQ document
In the Usage Constraint of this article,it mentions CHECK_IMMUNITY_TIME_IN_SECONDS.
but i can't find the method to set user property in TransactionMQProducer and DefaultMQProducer.
As the doc stated, the user property need to set with the request message. e.g. msg.putUserProperty(MessageConst.PROPERTY_CHECK_IMMUNITY_TIME_IN_SECONDS, "1");
Since this is a usage question, please send the question with user email list directly instead of opening issue at here next time. thanks a lot!
BUG
PROPERTY_CHECK_IMMUNITY_TIME_IN_SECONDSis not available.transactionMsgTimeoutis not available.
i use PROPERTY_CHECK_IMMUNITY_TIME_IN_SECONDS in java and transactionMsgTimeout in broker.conf ;
PROPERTY_CHECK_IMMUNITY_TIME_IN_SECONDS:

broker.conf:

console.log:

@naah69 thanks for your partition, all transactional message check interval all limited by "transactionCheckInterval" parameter of broker, and this value default is 60 seconds, you can set this parameter to a suitable value .
As @duhengforever says, param "transactionCheckInterval" controls transactional message check interval. "PROPERTY_CHECK_IMMUNITY_TIME_IN_SECONDS" or "transactionTimeout"(not "transactionMsgTimeout", document mistake) determines the period when half message first sent to first check localTransaction.
I would like to appreciate your @naah69 engagement in the community if you could raise your question in the user email list. Issue is not the correct place for your request, please read the issue template, looking forward to your question in the email list :-)