Closed HaceraI closed 2 days ago
if the provider, consumer in the same jvm, the invoke will be happens in same jvm. you may need't do that.
if the provider, consumer in the same jvm, the invoke will be happens in same jvm. you may need't do that.
yes, after testing, you are right, thanks.
the reason is that I forgot to add the @EnableDubbo
annotation, which led me to think that I needed to handle it manually
Yes, it will use injvm
protocol
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Descriptions
It is expected that the official will add an annotation, the main functions are:
Why is this annotation needed?
In some cases, we may integrate multiple microservices into a provider application and publish it for operation (assuming that we develop locally and want to run only one application to access all services, but when publishing to the server, we still need to split multiple modules to run)
I have tried two methods myself, but the effect is not as expected:
Custom annotation BeanPostProcessor
Related issues
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct