rocketmq-spring icon indicating copy to clipboard operation
rocketmq-spring copied to clipboard

Allow programmatic modify @RocketMQMessageListener annotation properties

Open kosmosr opened this issue 3 years ago • 3 comments

FEATURE REQUEST

  1. Please describe the feature you are requesting. In a jvm process, I can define different @RocketMQMessageListener annotations on the prototype bean and programmatically set the different annotation properties, such as consumerGroup
  2. Provide any additional detail on your proposed use case for this feature. reference kafka impl: https://docs.spring.io/spring-kafka/docs/current/reference/html/#kafkalistener-attrs I've finished coding and can request pr
  3. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue? should-have and no other way to do it

kosmosr avatar Aug 05 '22 10:08 kosmosr

Means that @RocketMQMessageListener annotations do not set value, programmatically modify annotation attributes before the container is created?

panzhi33 avatar Aug 08 '22 02:08 panzhi33

Means that @RocketMQMessageListener annotations do not set value, programmatically modify annotation attributes before the container is created?

yes

kosmosr avatar Aug 08 '22 03:08 kosmosr

good,you can submit your pr to have a look

panzhi33 avatar Aug 09 '22 00:08 panzhi33