khy666 commented on issue #10712: URL: https://github.com/apache/dubbo/issues/10712#issuecomment-1284863785
> > 我改如何配置所有的service中的查询方法可以重试,修改等方法不可重试。替代项目中的这种配置: <dubbo:service interface=“com._.Service“ ref=”serviceImpl“> <dubbo:方法名称=”insert_“ 重试=”0“/> </dubbo:service> dubbo中的服务ice会越来越多,类似于这样的配置也会越来越多。 > > 可以使用 Dubbo 注解的方式配置。因为 Method 级别的配置是需要绑定接口的,无法实现全局统一配置(不同接口的定义可能是不一样的)。 使用Dubbo注解,每个service都要写重复的方法,非常臃肿。 -- 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]
