zrlw commented on issue #14533:
URL: https://github.com/apache/dubbo/issues/14533#issuecomment-2290186360

   we take a temporary solution:
   ```
   ReferenceCache refCache = DubboBootstrap.getInstance().getCache();
   ProviderB providerB = refCache.get(referenceConfig);
   // set check true temporarily for invoker available checking.
   referenceConfig.setCheck(true);
   try {
       // check invoker available status.
       refCache.check(referenceConfig, checkTimeoutMs);
   } finally {
       // restore check option.
       referenceConfig.setCheck(false);
   }
   // call provider method.
   providerB.methodXXX(....);
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to