You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "violetgo (GitHub)" <gi...@apache.org> on 2018/12/02 15:21:58 UTC

[GitHub] [incubator-dubbo] violetgo opened issue #2866: Questions can I controls the routing rules of overload methods?

can I controls the routing rules of overload methods? I wonder if Dubbo can support it. The details are as follows:

I have a hotspot service A, like this:

```
Interface A{

   public void hotMethod ();
   public void hotMethod (Object someParams);
   //other method
}
```

Then I need to refactor the Interface A,
Then it may have two different service versions until refactor is completed. (An old version will provide a method `hotMethod()` , and a new version will provide a method `hotMethod (Object someParams)`.)

Then I want all requests that call `hotMethod'(Object someParams)' to call the new version, and other requests to go to the old version. Can I implement this ?

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2866 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo] tswstarplanet commented on issue #2866: Questions can I controls the routing rules of overload methods?

Posted by "tswstarplanet (GitHub)" <gi...@apache.org>.
Does it can route request based on parameters if the names of method are identical ?

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2866 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org