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/31 03:08:55 UTC

Re: [PR] [ISSUE #718]fix: registers a null consumerBuilder for RocketMQClientTemplate [rocketmq-spring]

RockteMQ-AI commented on PR #721:
URL: https://github.com/apache/rocketmq-spring/pull/721#issuecomment-5473199561

   **Issue Evaluation**
   
   Category: `question` | Status: **Answered**
   
   Yes, rocketmq-spring-boot-starter 2.3.3 supports ordered (sequential) messages.
   
   **Usage:**
   Add `selectorExpression = "*"` and set the message key to your ordering key (e.g., order ID). Use `@RocketMQMessageListener` with the `selectorExpression` attribute, and send messages with the same hash key:
   
   ```java
   // Producer: send with ordering key
   rocketMQTemplate.syncSendOrderly("topic-name", message, "order-id-123");
   ```
   
   Messages with the same `hashKey` will be sent to the same queue and consumed in order.
   
   **Note:** The issue body appears to contain a PR template rather than a question. If you intended to submit a PR, please use the PR creation flow instead.
   
   ---
   *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