Skip to content

Commit 429616f

Browse files
committed
copy invoker to new invocation in generic filter
1 parent 549f97c commit 429616f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ public Result invoke(Invoker<?> invoker, Invocation inv) throws RpcException {
139139
}
140140
}
141141
RpcInvocation rpcInvocation = new RpcInvocation(method, args, inv.getAttachments(), inv.getAttributes());
142+
rpcInvocation.setInvoker(inv.getInvoker());
142143
rpcInvocation.setTargetServiceUniqueName(inv.getTargetServiceUniqueName());
143144

144145
return invoker.invoke(rpcInvocation);

0 commit comments

Comments
 (0)