-
Notifications
You must be signed in to change notification settings - Fork 38.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combining @Retryable and @Scheduled/@JmsListener doesn't work [SPR-16196] #20744
Comments
Juergen Hoeller commented It looks like |
Selim Ok commented Thanks :) |
Selim Ok commented Hi Again, I just discovered a similar problem with Should I open a separate Ticket? May all *AnnotationBeanPostProcessor's have the same problem? Thanks. |
Juergen Hoeller commented Let's deal with it as part of this ticket still since we're fixing it for the same target versions anyway. I've applied the same change to |
Selim Ok commented Perfect :) |
Mauro Monti commented Hi Juergen, I believe that I hit the same issue when using cloud aws Thanks!, |
Gary Russell commented I am not familiar with the project, but |
Selim Ok commented Hi There, I experienced the same problem with Spring 4.3.15. I have Immediately after I removed The same behaviour repeated if I annotate any method in this class with Can you please re-open this ticket? Thanks.
|
Selim Ok commented Oh I'm sorry, this is my fault. Please ignore my last comment. Due to a maven dependency conflict my project used effectively spring-context 4.3.13 . Sorry again. |
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 usedBackported to: 4.3.14
The text was updated successfully, but these errors were encountered: