RongtongJin commented on issue #118: consumer.subscribe is not valid
URL: https://github.com/apache/rocketmq-spring/issues/118#issuecomment-521609443
 
 
   You can set filter expression by setting selectorExpression like this:
   
   ```@RocketMQMessageListener (topic = “xxx”, selectorExpression = “yyy”, 
consumerGroup = “zzz”)```
   
   It is not recommended to invoke subscribe again in the prepareStart method. 
If you subscribe the same topic in this method, the original filter expression 
will be overwritten.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to