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

Allow @Priority for ExceptionMapper #5469

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

jansupol
Copy link
Contributor

Centralized working with @priority value.

Copy link
Member

@jbescos jbescos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jbescos
Copy link
Member

jbescos commented Nov 21, 2023

Can we test also with resourceConfig.register(new HigherPriorityExceptionMapper(), 200); and resourceConfig.register(new LowerPriorityExceptionMapper(), 100);?. I think that priority number should override the @Priority.

Centralized working with @priority value.

Signed-off-by: jansupol <[email protected]>
@jansupol jansupol merged commit 1c329c8 into eclipse-ee4j:2.x Nov 22, 2023
3 checks passed
@jansupol jansupol deleted the exceptionmapper.priorities branch November 22, 2023 10:27
@jansupol jansupol added this to the 2.42 milestone Dec 13, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants