-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
@method注解中用onreturn属性 但是该属性只会设置org.apache.dubbo.config.MethodConfig中的onreturn属性并不会设置其onreturnMethod属性
但是org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter::fireReturnCallback中会进行两个属性的判空呢
if (onReturnMethod == null || onReturnInst == null) {
throw new IllegalStateException("service:" + invoker.getUrl().getServiceKey() + " has a onreturn callback config , but no such " + (onReturnMethod == null ? "method" : "instance") + " found. url:" + invoker.getUrl());
}
Metadata
Metadata
Assignees
Labels
No labels