public List<Router> getRouterRef() {
        return routerRef;
    }
Sets on connect.

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