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
Is your feature request related to a problem? Please describe.
I'm always frustrated when I need to write boilerplate code. I'm not a fan of always repeating:
jobScheduler.enqueue(() -> emailClient.send(to));
Describe the solution you'd like
The idea would be that you could annotate an interface and spring could create a proxy so that when you invoke a method on an implementation of that interface it schedules a job for you (to be run).
@JobGateway// or @AsyncinterfaceEmailClient {
@Job(name =“sendEmail”)
voidsend(Stringto);
}
Describe alternatives you've considered
🤔 can't think of anything else...
Is your feature request related to a problem? Please describe.
I'm always frustrated when I need to write boilerplate code. I'm not a fan of always repeating:
Describe the solution you'd like
The idea would be that you could annotate an interface and spring could create a proxy so that when you invoke a method on an implementation of that interface it schedules a job for you (to be run).
Describe alternatives you've considered
🤔 can't think of anything else...
Additional context
Reported by @joshlong
The text was updated successfully, but these errors were encountered: