Project: mule
Issue MULE-7335: Transformer resolution in TypeBasedTransformerResolver fails depending on which order transformers are found
TypeBasedTransformerResolver uses registry to lookup all the transformers that are compatible with a given transformation. Then it searches on the obtained list of transformers looking for the best match to execute the transformation. Problem its that the transformers are not ordered, so the best match calculation fails to obtain a transformer when the two first transformers have the same weight but different implementation classes. In this case, if the best transformer is a third one, then it won't be found because the resolution will fail on the previous ones.
Story points: 5