You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/03/22 08:33:23 UTC

[GitHub] apel-apel opened a new issue #1501: local mock not work according by the user manual

apel-apel opened a new issue #1501: local mock not work according by the user manual
URL: https://github.com/apache/incubator-dubbo/issues/1501
 
 
   the user manual describe the usage about mock like this:
   ```xml
   <dubbo:service interface="com.foo.BarService" mock="true" />
   ```
   or
   ```xml
   <dubbo:service interface="com.foo.BarService" mock="com.foo.BarServiceMock" />
   ```
   
   but, this config is not work, the correct way is insteading `<dubbo:service` with `<dubbo:reference`,
   just like this:
   ```xml
   <dubbo:reference interface="com.foo.BarService" mock="true" />
   ```
   or
   ```xml
   <dubbo:reference interface="com.foo.BarService" mock="com.foo.BarServiceMock" />
   ```
   I think should edit the user manual like above;
   

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