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 2020/10/14 08:40:50 UTC
[GitHub] [rocketmq-spring] idealiezed opened a new issue #299: RocketMQAutoConfiguration @ConditionalOnProperty 为什么设置为true
idealiezed opened a new issue #299:
URL: https://github.com/apache/rocketmq-spring/issues/299
RocketMQAutoConfiguration @ConditionalOnProperty(prefix = "rocketmq", value = {"name-server"}, matchIfMissing = true)
matchIfMissing的值为什么是true,true的话@ConditionalOnProperty似乎没有作用了。
能否改为false呢,因为有时本地是不能连MQ服务器的
----------------------------------------------------------------
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
[GitHub] [rocketmq-spring] yanghao888 commented on issue #299: Why is RocketMQAutoConfiguration @ConditionalOnProperty set to true
Posted by GitBox <gi...@apache.org>.
yanghao888 commented on issue #299:
URL: https://github.com/apache/rocketmq-spring/issues/299#issuecomment-1072432735
spring boot支持在配置中通过spring.autoconfigure.exclude排除自动配置的类,但我不确定你的spring boot版本是否支持这个参数。

--
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: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-spring] yanghao888 commented on issue #299: Why is RocketMQAutoConfiguration @ConditionalOnProperty set to true
Posted by GitBox <gi...@apache.org>.
yanghao888 commented on issue #299:
URL: https://github.com/apache/rocketmq-spring/issues/299#issuecomment-1072432735
spring boot支持在配置中通过spring.autoconfigure.exclude排除自动配置的类,但我不确定你的spring boot版本是否支持这个参数。

--
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: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-spring] finnlee87 commented on issue #299: RocketMQAutoConfiguration @ConditionalOnProperty 为什么设置为true
Posted by GitBox <gi...@apache.org>.
finnlee87 commented on issue #299:
URL: https://github.com/apache/rocketmq-spring/issues/299#issuecomment-726536927
是否可以使用@EnableAufoConfiguration的execlude属性呢?
----------------------------------------------------------------
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
[GitHub] [rocketmq-spring] idealiezed commented on issue #299: RocketMQAutoConfiguration @ConditionalOnProperty 为什么设置为true
Posted by GitBox <gi...@apache.org>.
idealiezed commented on issue #299:
URL: https://github.com/apache/rocketmq-spring/issues/299#issuecomment-730173549
不行,因为我是本地环境不能连,其他环境连,EnableAufoConfiguration排除无法区分环境;
或者能否加个disabled配置呢,例如@ConditionalOnProperty(prefix = "rocketmq", value = “disabled”, matchIfMissing = true)
----------------------------------------------------------------
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