We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
arrange for an Asynchronous method to be automatically submitted/scheduled upon application startup
more conveniently code applications that have business logic that should run on a schedule
This requirement was discussed in a topic titled "Defining Jakarta EE 12 Scope in Program Plan" on the jakarta.ee-community mailing list.
One way to achieve this might be with a boolean autoStart field,
@Asynchronous(runAt = @Schedule(daysOfWeek = DayOfWeek.TUESDAY, hours = 1), autoStart = true) public void weeklyTask() { ... }
If we wanted, we could also allow it for one-time Asynchronous methods without a Schedule.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As a ...
I need to be able to ...
arrange for an Asynchronous method to be automatically submitted/scheduled upon application startup
Which enables me to ...
more conveniently code applications that have business logic that should run on a schedule
Additional information
This requirement was discussed in a topic titled "Defining Jakarta EE 12 Scope in Program Plan" on the jakarta.ee-community mailing list.
One way to achieve this might be with a boolean autoStart field,
If we wanted, we could also allow it for one-time Asynchronous methods without a Schedule.
The text was updated successfully, but these errors were encountered: