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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]