-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
MP Fault Tolerance - default method fallback doesn't work in native mode #14394
Comments
CC @Ladicek SmallRye has a workaround for default fallback methods: |
Yea I've noticed that, and chose to forget about it because supporting it will probably require non-trivial changes in SRye FT :-) Assigning to myself, but it will take a bit of time. |
I think in GraalVM 21 support method handles better now so maybe this can be re-examined? |
@Ladicek can you look into this regression again? Quarkus is on GraalVM 21 now. |
I'll try (remove the substitution and verify), but no promises if it doesn't work out :-) |
Confirm that with GraalVM 21 and the substitution removed, it works. I'll take a look where to add a test and submit a PR. |
Submitted #15788. |
Also, let's make one thing clear: this is not a regression. This has never worked :-) |
Summary
I have a microprofile HttpClient on Native mode, and also a fallback action configured, then I got the following exception:
Expected behavior
Same as JVM mode (if HTTP request fail, then move on to fallback)
Actual behavior
To Reproduce
Setup an HttpClient pointing to a not found URL
And then make a query:
Jira ref
The text was updated successfully, but these errors were encountered: