dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

dubbo2.84版本 aop代理无效

Open hylyLLL opened this issue 5 years ago • 3 comments

IOrderService与IGoodServicee形成循环依赖,dubbo在生成对象时 image image 为什么一个能够生成代理切面对象,一个不能呢,有什么方式能够让IGoodService把带有AOP增强的代理提前暴露出去呢?

hylyLLL avatar Aug 29 '21 08:08 hylyLLL

@.***注解去解决,也不行

------------------ 原始邮件 ------------------ 发件人: "apache/dubbo" @.>; 发送时间: 2021年8月30日(星期一) 下午2:25 @.>; @.@.>; 主题: Re: [apache/dubbo] dubbo2.84版本 aop代理无效 (#8634)

你能描述清楚你的问题吗?我的理解是例如:你的两个service加了事务spring对这两个接口生成代理,而Dubbo的注入是通过对ServiceBean构造器注入接口实例,这是spring所管理的就算循环依赖也都会注入proxy!你看看你的哪块配置出了问题!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

hylyLLL avatar Aug 30 '21 07:08 hylyLLL

Apache Dubbo 没有发布 2.8.4 版本,第三方版本这里不进行处理

AlbumenJ avatar Sep 08 '21 02:09 AlbumenJ

抱歉,我这里版本是以前alibaba的版本

------------------ 原始邮件 ------------------ 发件人: "Albumen @.>; 发送时间: 2021年9月8日(星期三) 上午10:51 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [apache/dubbo] dubbo2.84版本 aop代理无效 (#8634)

Apache Dubbo 没有发布 2.8.4 版本,第三方版本这里不进行处理

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

hylyLLL avatar Sep 09 '21 10:09 hylyLLL