ppalaga commented on a change in pull request #2415: URL: https://github.com/apache/camel-quarkus/pull/2415#discussion_r604122612
########## File path: extensions/spring-rabbitmq/runtime/src/main/doc/limitations.adoc ########## @@ -0,0 +1,5 @@ +You can use component without any special configuration in the JVM mode. Review comment: ```suggestion You can use this extension without any special configuration in JVM mode. ``` ########## File path: extensions/spring-rabbitmq/runtime/src/main/doc/limitations.adoc ########## @@ -0,0 +1,5 @@ +You can use component without any special configuration in the JVM mode. + +In native mode you have to add compiler flag `-H:+InlineBeforeAnalysis`, +to allow removal in static methods (see https://github.com/oracle/graal/issues/2594[graal issue]). +Component fails without this flag in the native mode. Review comment: ```suggestion In native mode you need to add [source,shell] ---- quarkus.native.additional-build-args = -H:+InlineBeforeAnalysis ---- to your `application.properties`. This is to allow inlining of some static methods that would otherwise cause build failures (see this https://github.com/oracle/graal/issues/2594[GraalVM issue]). ``` -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org