Skip to content
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

Features are executed in random order #4538

Closed
sgdesmet opened this issue Jul 31, 2020 · 0 comments
Closed

Features are executed in random order #4538

sgdesmet opened this issue Jul 31, 2020 · 0 comments
Milestone

Comments

@sgdesmet
Copy link

sgdesmet commented Jul 31, 2020

Take for example:

public class SomeApplication extends ResourceConfig {
    public RestV1Application() {
        register(FeatureOne.class);
        register(FeatureTwo.class);
    }
}

The order in which both features are executed at runtime is random, which is not always desired.
Setting a priority, either via annotation or register(...) has no effect on the execution order.

@senivam senivam added this to the 2.32 milestone Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants