dubbo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] paopaoteng opened a new issue #1498: 服务端崩溃,报RpcException(Forbid consumer)时,mock无效
Date Wed, 21 Mar 2018 10:55:02 GMT
paopaoteng opened a new issue #1498: 服务端崩溃,报RpcException(Forbid consumer)时,mock无效
URL: https://github.com/apache/incubator-dubbo/issues/1498
 
 
   在xml文件里配置<dubbo:reference  id="service"    interface="com.xxx.service.publicInfo.ISystemConfigService"
check="false" mock="com.xxx.service.publicInfo.SystemConfigServiceMock" />
   当服务端全部挂掉时,客户端调用服务报Forbid consumer的RpcException,此时Mock没有生效。
   看源码是RegistryDirectory.refreshInvoker中将forbidden修改为true,此时mock也会报同样的错误。

----------------------------------------------------------------
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