Is there any performance improvement if I use a custom Java transformer in place of an XSLT transformer in Mule?
I have a cxf proxy-service and proxy-client pattern, and my transformers are being used to change the payload so that it is a valid input for subsequent SOAP web-service calls.
javax.xml.transform.Transformerobjects behind the scene, so the XSL-T file is pre-loaded and cached that way. I think using XSL-T would be more maintainable than an ad-hoc Java-based transformer. My advice is: try XSL-T and only go custom code if you've proven that it doesn't perform to your requirements. - David Dossot