!26 feat:基于Spring Cloud Bus实现的Producer抽象类获取自己服务实例时获取不到
Merge pull request !26 from Lee.J.Eric/masterpull/30/MERGE
commit
ffd4e0672a
|
@ -20,7 +20,7 @@ public abstract class AbstractBusProducer {
|
|||
@Resource
|
||||
protected ServiceMatcher serviceMatcher;
|
||||
|
||||
@Value("{spring.application.name}")
|
||||
@Value("${spring.application.name}")
|
||||
protected String applicationName;
|
||||
|
||||
protected void publishEvent(RemoteApplicationEvent event) {
|
||||
|
|
Loading…
Reference in New Issue