You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/07/19 13:12:00 UTC

[GitHub] rhion edited a comment on issue #208: 异步泛化调用设置setOnreturn无效 2.5.3版本

rhion edited a comment on issue #208: 异步泛化调用设置setOnreturn无效    2.5.3版本
URL: https://github.com/apache/incubator-dubbo/issues/208#issuecomment-212766469
 
 
   dubbo.rpc模块
   hack修改过代码----------------
   StaticContext.java
   
   oldcode:line 62
   ```java
   public static String getKey(URL url, String methodName, String suffix) {
       return getKey(url.getServiceKey(), methodName, suffix);
   }
   ```
   -------change to 
   ```java
   public static String getKey(URL url, String methodName, String suffix) {
       if("$invoke".equals(methodName)){
           methodName = url.getParameter("methods");
       }
       return getKey(url.getServiceKey(), methodName, suffix);
   } 
   ```
   这段代码比较丑陋写死$invoke,暂时可以解决问题。
   

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

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org