zhfeng commented on issue #837: Velocity Support URL: https://github.com/apache/camel-quarkus/issues/837#issuecomment-600473247 @dc2tom it should be very similar to the freemarker component. At first, you need to create the velocity extension by ```mvn cq:create -N -Dcq.artifactIdBase=velocity```. The followup steps could do - enable the reflective class of the Exchanges in VelocityProcessor.java ``` reflectiveClass.produce(new ReflectiveClassBuildItem(false, false, Exchanges.class); ``` so the ${exchange.properties} can be used in the vm files. - add the option of ```quarkus.camel.velocity.classModules=<list of the classes which could be used in the template file>``` in the runtime of VelocityConfig just like freemarkers and process these class just like the Exchanges class above. - add the option to scan all of the vm files and add them into the native image resources. - check the integration test and make sure it work - re-gen the docs by ```mvn process-resources -Pformat``` anyway, you are welcome to contribute a PR. Feel free to ask here and I will try my best to help you !
---------------------------------------------------------------- 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 With regards, Apache Git Services