Improve sorting logic of fallback transformers where multiple unrelated transformers are
resolved for a given type
------------------------------------------------------------------------------------------------------------------
Key: SWITCHYARD-320
URL:
https://issues.jboss.org/browse/SWITCHYARD-320
Project: SwitchYard
Issue Type: Enhancement
Components: transformation
Reporter: Tom Fennelly
Assignee: Tom Fennelly
Fix For: 0.2
At the moment, if unrelated fallback transformers are discovered (un-assignable types),
the user gets an error and they need to manually add an explicit transformer to resolve.
With Camel in the mix and all of its converters, the likelihood of hitting this situation
goes up a lot and becomes a PITA.
We can improve the sorting so as to take into account how far in the inheritance tree the
incompatible types are from the target type, weighting in favor the type that is closer.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira