You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在更新了#617 pr后,我尝试aop切面handleMessage方法,但是没有作用,内部类调用外部类好像并不会走bean调用,导致aop失效,修改内部类调用handleMessage为bean调用,使aop切面handleMessage方法可以正常使用。
After updating PR #617, I tried to use AOP to intercept the handleMessage method, but it didn't work. It seems that when an inner class calls a method of the outer class, it doesn't go through the bean invocation, causing the AOP to fail. Need to modify the inner class to call handleMessage as a bean invocation, so that the AOP interception of the handleMessage method can work properly.
The text was updated successfully, but these errors were encountered:
rocketmq-spring/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/support/DefaultRocketMQListenerContainer.java
Lines 423 to 444 in b3963f7
rocketmq-spring/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/support/DefaultRocketMQListenerContainer.java
Lines 446 to 467 in b3963f7
在更新了#617 pr后,我尝试aop切面handleMessage方法,但是没有作用,内部类调用外部类好像并不会走bean调用,导致aop失效,修改内部类调用handleMessage为bean调用,使aop切面handleMessage方法可以正常使用。
After updating PR #617, I tried to use AOP to intercept the handleMessage method, but it didn't work. It seems that when an inner class calls a method of the outer class, it doesn't go through the bean invocation, causing the AOP to fail. Need to modify the inner class to call handleMessage as a bean invocation, so that the AOP interception of the handleMessage method can work properly.
The text was updated successfully, but these errors were encountered: