0

I'm trying to register a class that implements javax.ws.rs.core.Feature in my Quarkus application. I understand that using @Provider annotation on the class should do it but this class is contained in an external jar so that's not an option. I want to avoid having to extend javax.ws.rs.core.Application and return my Feature implementation from getClasses(). Is there a property I can set in application.properties to register this Feature implementation?

Zak
  • 359
  • 2
  • 10

1 Answers1

0

No, you can't do that. However, you can make Quarkus look for @Provider classes in the external JAR. See this for more details

geoand
  • 60,071
  • 24
  • 172
  • 190