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

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

Reply via email to