aldettinger commented on code in PR #5168:
URL: https://github.com/apache/camel-quarkus/pull/5168#discussion_r1291307492


##########
docs/modules/ROOT/pages/reference/extensions/grpc.adoc:
##########
@@ -72,3 +118,34 @@ To avoid compilation issues, the `grpc-java` project 
recommendation is to add a
 
 Alternatively, you can use Maven or Gradle plugins to iterate over the 
generated code (found at `target/generated-sources` for Maven) and replace all 
instances of `@javax.annotation.Generated` with `@jakarta.annotation.Generated`.
 
+[id="extensions-grpc-usage-accessing-classpath-resources-in-native-mode"]
+=== Accessing classpath resources in native mode
+
+The gRPC component has various options where resources are resolved from the 
classpath:
+
+* `keyCertChainResource`
+* `keyResource`
+* `serviceAccountResource`
+* `trustCertCollectionResource`
+
+When using these options in native mode, you must ensure that any such 
resources are included in the native image.
+
+This can be accomplished by adding the configuration property 
`quarkus.native.resources.includes` to `application.properties`.

Review Comment:
   Could we remove lines 133-140 to ease long term maintenance ? Everything is 
already described in embedding-`resource-in-native-executable[native mode 
guide]` at line 141.



-- 
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-unsubscr...@camel.apache.org

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

Reply via email to