davsclaus commented on issue #21:
URL: 
https://github.com/apache/camel-kamelets-examples/issues/21#issuecomment-1737603555

   The old example works fine with 3.20.6 and 4.0.0. However I think you have 
since added more configuration, in particular
   
   > additionalProperties.specific.avro.value.type: 
'#valueAs(java.lang.Class):org.apache.camel.kamelets.eventhubs.models.Order'
   
   I have not had time to dive more into this, but it would be good to have a 
reproducer, and also I wonder if its the karaf client / avro that does the 
classloading that it cannot load this class.
   
   It may be of the nature of dynamic classloading via jbang is complex. I had 
another use-case today
   https://issues.apache.org/jira/browse/CAMEL-19924
   
   In the mean time, you can try to export this to a standard spring-boot / 
quarkus or camel-main project and run it with pure maven / java.
   
       camel export * --runtime=spring-boot --directory=code
   
   But still it would be great to get this issue resolved and work OOTB with 
camel-jbang. However a bit busy this week.
   


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

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

Reply via email to