davsclaus commented on issue #500:
URL: https://github.com/apache/camel-karavan/issues/500#issuecomment-1294869079

   Here is a type converter example
   
https://github.com/apache/camel-kamelets-examples/tree/main/jbang/type-converter
   
   Beware that doing a type converter from List<?> means that become a type 
converter for all Lists. So you need to deal with that in mind, eg if the list 
contains String, Map, NodeMap, FooBar objects.
   
   So you may want to transform the message body via processor / bean / setBody 
/ transform EIPs instead where you can loop the list and transform that into a 
single object instance, such as String, byte[] or a combined JSonNode object or 
something.


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