Skip to content

Commit

Permalink
支持隐式参数的回传(从服务端传到消费端),apache#889apache#895
Browse files Browse the repository at this point in the history
  • Loading branch information
hsrong committed Dec 22, 2017
1 parent 9306ab6 commit 83a00bb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ public class ImplicitParamReturnBackTest extends TestCase {

public void testImplicitParamReturnBack() throws Exception {
DemoService service = new DemoServiceImpl();
URL providerURL = URL.valueOf("dubbo://127.0.0.1:9010/com.alibaba.dubbo.rpc.DemoService?service.filter=ProviderFilter");
URL providerURL = URL.valueOf("dubbo://127.0.0.1:9010/com.alibaba.dubbo.rpc.protocol.dubbo.support.DemoService?service.filter=ProviderFilter");
protocol.export(proxy.getInvoker(service, DemoService.class, providerURL));
URL consumerURL = URL.valueOf("dubbo://127.0.0.1:9010/com.alibaba.dubbo.rpc.DemoService?service.filter=ConsumerFilter");
URL consumerURL = URL.valueOf("dubbo://127.0.0.1:9010/com.alibaba.dubbo.rpc.protocol.dubbo.support.DemoService?reference.filter=ConsumerFilter");
service = proxy.getProxy(protocol.refer(DemoService.class, consumerURL));
service.echo("123");
}
Expand Down

0 comments on commit 83a00bb

Please sign in to comment.