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 2020/03/11 10:06:52 UTC

[GitHub] [camel-quarkus] lburgazzoli commented on a change in pull request #872: Fixed missing registry values in native mode #867

lburgazzoli commented on a change in pull request #872: Fixed missing registry values in native mode #867
URL: https://github.com/apache/camel-quarkus/pull/872#discussion_r390862958
 
 

 ##########
 File path: extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/NativeImageProcessor.java
 ##########
 @@ -224,8 +224,9 @@ void process(
             // Register routes as reflection aware as camel-main main use reflection
             // to bind beans to the registry
             //
-            camelRoutesBuilders.forEach(dotName -> {
-                reflectiveClass.produce(new ReflectiveClassBuildItem(true, true, dotName.toString()));
+            camelRoutesBuilders.forEach(camelRoutesBuilderClassBuildItem -> {
+                reflectiveClass.produce(
+                        new ReflectiveClassBuildItem(true, true, camelRoutesBuilderClassBuildItem.getDotName().toString()));
 
 Review comment:
   good catch

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services