dubbo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] jaychang9 commented on issue #195: @Reference check=false不生效
Date Mon, 16 Apr 2018 00:54:17 GMT
jaychang9 commented on issue #195: @Reference check=false不生效
URL: https://github.com/apache/incubator-dubbo/issues/195#issuecomment-381452137
 
 
   我是直接搞个spring-dubbo-consumer.xml
   用一个DubboConfig Java Config方式引入这个xml
   `@Configuration
   @ImportResource(locations = {"classpath:spring/spring-dubbo-consumer.xml"})
   public class DubboConfig {
   
   }
   `
   `<?xml version="1.0" encoding="UTF-8"?>
   <beans xmlns="http://www.springframework.org/schema/beans"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
          xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
          http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
   
       <!-- 关闭引用服务的启动时检查 -->
       <dubbo:consumer check="false"/>
   </beans>`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Mime
View raw message