public SofaResponseCallback getMethodOnreturn(String methodName) {
        return (SofaResponseCallback) getMethodConfigValue(methodName, RpcConstants.CONFIG_KEY_ONRETURN,
            getOnReturn());
    }
Sets serialization.

@param serialization the serialization
@return the serialization
core/api/src/main/java/com/alipay/sofa/rpc/config/ConsumerConfig.java