davsclaus commented on pull request #5750:
URL: https://github.com/apache/camel/pull/5750#issuecomment-869141222


   Nice attempt but we should think bigger picture, there are many dataformats, 
if you do a git grep asTypeName( you can see its used in many places.
   
   Also camel-jackson does not have a reflection free setter for this
   
https://github.com/apache/camel/blob/e5c972aab914799907ed3482253f4fb81f91ce83/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java#L32
   
   But its a good idea to look at those dataformats that allows to set the type 
from an existing Class instance, then we can have an unmarshalType as its 
setter, and ensure its in the generated configurer.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to