lineng-hao-jie commented on issue #14859:
URL: https://github.com/apache/dubbo/issues/14859#issuecomment-2459016748
The code for service exposure should be fine. It has been running normally
from version 2.5.1 to 2.7.9, and all the way to 3.2.10/3.2.16. Even the
interface - level service registration of 3.3.1 can also operate normally.
In addition, debugging was also performed in version 3.3.1, and it was found
that the line in the problem description returned directly (line 1302 of
DefaultApplicationDeployer).
```
private void doExportMetadataService() {
if (!isStarting() && !isStarted() && !isCompletion()) {
return;
}
for (DeployListener<ApplicationModel> listener : listeners) {
...
}
}
```
Furthermore, if a "dubbo:service" configuration item is added to the
configuration file, the instance - level service registration will eventually
be normal as well.For example:
```
<dubbo:service interface="com.huntlee.travel.ai.llm.agent.api.DubboBug"
id="dubboBugService" ref="dubboBug"/>
```
--
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]