Skip to content

Method to Intercept @Scheduled and @Async without AOP [SPR-15562] #20121

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

Closed
spring-projects-issues opened this issue May 18, 2017 · 2 comments
Closed
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: superseded An issue that has been superseded by another type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link
Collaborator

Jon Schneider opened SPR-15562 and commented

Both Spring Cloud Sleuth and Spring Metrics (and less likely, security?) could benefit from a method to intercept and instrument @Scheduled and @Async methods that doesn't require AOP.

Perhaps interceptors could be folded into the registration process in ScheduledAnnotationBeanPostProcessor?


Affects: 5.0 RC2

@spring-projects-issues spring-projects-issues added type: enhancement A general enhancement in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.x Backlog milestone Jan 11, 2019
@jhoeller
Copy link
Contributor

@bclozel has this come up again with observability for task execution and scheduling? Or are we happy having metrics for the target executor/scheduler rather than the annotated methods?

@bclozel
Copy link
Member

bclozel commented Jul 14, 2023

Indeed it's been superseded by #29883. Thanks!

@bclozel bclozel removed this from the 6.x Backlog milestone Jul 14, 2023
@bclozel bclozel added the status: superseded An issue that has been superseded by another label Jul 14, 2023
@bclozel bclozel closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: superseded An issue that has been superseded by another type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants