Project: mule
Issue MULE-8498: Message transformation must maintain original mimeType and encoding when transformer does not provide them
When a transfomer is applyed on a DefaultMuleMessage and changes its payload, then the transformer's output datatype is assigned to the message datatype. However, transformer's output datatype not always defines mimeType and encoding. If a transformer does not change any of those fields, then the fields from original payload's datatype should be used.
Story points: 3