[Feature] Can @Method annotation provide more possibilities to control which @Method ultimately takes effect with minimal granularity, including on methods of classes using @DubboService annotation, methods of parent classes, and abstract methods of interfaces #14927
Labels
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Descriptions
Can
@method
annotation provide more possibilities to control which@method
ultimately takes effect with minimal granularity, including on methods of classes using@DubboService
annotation, methods of parent classes, and abstract methods of interfaces.And consider adding wildcard characters to match the methods.Or add an annotation for configuration.
for example:
In the above example, the retry count for create is 5, with a timeout of 6000 milliseconds. The retry count for create Other is 2, with a timeout of 1000 milliseconds. The retry count for create Test is 1, with a timeout of 500 milliseconds
Related issues
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: