-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Description
Selim Ok opened SPR-16196 and commented
Hi,
if I use @Retryable
annotation for a method of a certain bean and @scheduled
for another method of the same bean, ScheduledAnnotationBeanPostProcessor doesn't process this class and thus @Scheduled
method is not executed. This is a very strange problem.
If I remove the @Retryable
annotation, ScheduledAnnotationBeanPostProcessor process the bean with processScheduled() method and the scheduled task is executed without any problem.
I already created a ticket to spring-retry project on github (spring-projects/spring-retry#94). Mr. Russell can reproduce the problem with a slightly different symptom. He think that might be an issue with the ScheduledAnnotationBeanPostProcessor.
Thank you.
Selim
Affects: 4.3.10, 4.3.12
Reference URL: spring-projects/spring-retry#94
Issue Links:
- @JmsListener annotated method need to be extracted to interface even if CGLIB used [SPR-16557] #21100
@JmsListener
annotated method need to be extracted to interface even if CGLIB used
Backported to: 4.3.14