Quarkus Extension with additional JaxRsFeature #31015
Unanswered
thomasrichner-oviva
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@thomasrichner-oviva I ran the reproducer and I see the ITs working? Is there something specific to do to reproduce the problem? Also I wonder if you're being hit by #30960 . I will backport it next week to 2.16 but for now it's only in main (with the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm trying to add an additional
javax.ws.rs.core.Feature
with a Quarkus extension. The configuration for the featureis only ready at runtime.
How do I register a
javax.ws.rs.core.Feature
with an extension withRUN_TIME
configuration?My use case seems to be similar to what can be found here, though my configuration is not ready at build-time.
Currently my Processor produces a ResteasyJaxrsProviderBuildItem in order to register the feature, though injecting runtime configuration into the JaxRs Feature fails.
I.e.
With a run-time configuration I run into the following exception, attached see a minimal repro.
What else I tried:
ResteasyDeploymentCustomizerBuildItem
UseResteasyDeploymentCustomizerBuildItem
=> Leads to the same Exception
Lazy Feature
Lazily initialize a feature:
Same outcome :/
Beta Was this translation helpful? Give feedback.
All reactions