You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jorgecastro05 (via GitHub)" <gi...@apache.org> on 2023/07/07 15:56:36 UTC

[GitHub] [camel-quarkus] jorgecastro05 opened a new issue, #5080: Camel Velocity Extension foreach scopes on native executable

jorgecastro05 opened a new issue, #5080:
URL: https://github.com/apache/camel-quarkus/issues/5080

   ### Bug description
   
   Sentences like $foreach.index,  $foreach.count, y $foreach.hasNext used on velocity templates are not avaliable on native executables.
   
   **How to reproduce?**
   
   This is example repo using apache velocity - camel and quarkus latest version
   https://github.com/jorgecastro05/velocity-test-latest
   
   Once packaged native with quarkus build --native and running the native executable the foreach.hasNext is not rendered on the route.
   
   **Fix workaround**
   
   adding class org.apache.velocity.runtime.directive.ForeachScope  for register to reflection, the template is rendered successfully.
   


-- 
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.apache.org

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


[GitHub] [camel-quarkus] ppalaga closed issue #5080: Velocity $foreach.index, $foreach.count and $foreach.hasNext do not work in native mode

Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga closed issue #5080: Velocity $foreach.index, $foreach.count and $foreach.hasNext do not work in native mode
URL: https://github.com/apache/camel-quarkus/issues/5080


-- 
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


[GitHub] [camel-quarkus] ppalaga commented on issue #5080: Velocity $foreach.index, $foreach.count and $foreach.hasNext do not work in native mode

Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #5080:
URL: https://github.com/apache/camel-quarkus/issues/5080#issuecomment-1632194433

   Thanks a lot for the reproducer, @jorgecastro05!


-- 
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