!26 feat:基于Spring Cloud Bus实现的Producer抽象类获取自己服务实例时获取不到

Merge pull request !26 from Lee.J.Eric/master
pull/30/MERGE
芋道源码 2023-03-11 02:07:41 +00:00 committed by Gitee
commit ffd4e0672a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ public abstract class AbstractBusProducer {
@Resource @Resource
protected ServiceMatcher serviceMatcher; protected ServiceMatcher serviceMatcher;
@Value("{spring.application.name}") @Value("${spring.application.name}")
protected String applicationName; protected String applicationName;
protected void publishEvent(RemoteApplicationEvent event) { protected void publishEvent(RemoteApplicationEvent event) {