You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/06/04 08:44:57 UTC
[GitHub] [rocketmq-spring] LuanLouis opened a new pull request #87: [ISSUE
#86] add feature: consumer listener enabled configuration
LuanLouis opened a new pull request #87: [ISSUE #86] add feature: consumer listener enabled configuration
URL: https://github.com/apache/rocketmq-spring/pull/87
## What is the purpose of the change
control @RocketMQMessageListener service registration when the container boostraped
## Brief changelog
Add registration configuarion when load ListenerContainerConfiguration
## Verifying this change
when the service is annotated with `l @RocketMQMessageListener ` and following configuartion is configured, the listener would not be reigsters as a mq consumer.
```
rocketmq.consumer.listeners.<group-name>.<topic-name>.enabled = false
```
By the way, the `@RocketMQMessageListener ` is registered by default.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services