You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/07/16 07:39:15 UTC

[GitHub] [camel-quarkus] jamesnetherton commented on a change in pull request #2907: fix can't build camel-fhir extension native image #2906

jamesnetherton commented on a change in pull request #2907:
URL: https://github.com/apache/camel-quarkus/pull/2907#discussion_r671032368



##########
File path: extensions/fhir/deployment/src/main/java/org/apache/camel/quarkus/component/fhir/deployment/FhirProcessor.java
##########
@@ -26,15 +26,27 @@
 import io.quarkus.deployment.builditem.FeatureBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBundleBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
+import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;
 
 final class FhirProcessor {
     private static final String FEATURE = "camel-fhir";
 
+    private static final String[] RUNTIME_INITIALIZED_CLASSES = new String[] {
+            "org.apache.http.impl.auth.NTLMEngineImpl"

Review comment:
       This is already handled [elsewhere](https://github.com/apache/camel-quarkus/blob/43960d8e5bafbfd8c42a33ee08fdf79a033a831e/extensions-support/httpclient/deployment/src/main/java/org/apache/camel/quarkus/support/httpclient/deployment/HttpClientProcessor.java). So it's better to make the fhir extension depend on `camel-quarkus-support-httpclient`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org