You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "RockteMQ-AI (via GitHub)" <gi...@apache.org> on 2026/08/08 01:11:20 UTC

Re: [I] 请问在新版本中怎么配置消息超时、事务回查间隔等属性? [rocketmq-spring]

RockteMQ-AI commented on issue #666:
URL: https://github.com/apache/rocketmq-spring/issues/666#issuecomment-5223768724

   **Issue Evaluation**
   
   Category: `question` | Status: **Answered**
   
   In the newer versions of `rocketmq-spring-boot-starter`, message timeout and transaction rollback interval are configured via:
   
   ```yaml
   rocketmq:
     producer:
       send-message-timeout: 3000      # milliseconds
       retry-times-when-send-failed: 2
       retry-times-when-send-async-failed: 2
   ```
   
   For transaction messages:
   ```yaml
   rocketmq:
     producer:
       transaction-listener:
         check-interval: 60000         # milliseconds (default: 60s)
         check-timeout: 60000          # milliseconds
         max-check-times: 15
   ```
   
   These properties map to the underlying `DefaultMQProducer` settings.
   
   ---
   *Automated evaluation by RockteMQ-AI*
   


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

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