orpiske opened a new pull request, #11225: URL: https://github.com/apache/camel/pull/11225
This is preliminary work that should simplify moving away from an Exception-based logic for type handling It refactors the type conversion code so that it is preloaded to a Map, which store type conversion pairs. This map is checked whenever there is a type conversion, by matching the requested pair (from/to) with the known conversions on the Map. Among other things, it reduces the incidence of runtime type detection and tries to let the compiler decide the method whenever it is possible This builds on top of the work done on #10271. -- 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