trans = muleContext.getRegistry().lookupTransformers(source, new SimpleDataType(Object.class));
transformer = getNearestTransformerMatch(trans, source.getType(), result.getType());
if (transformer != null)
{
transformer = new TransformerChain(transformer, secondPass);
try
{
muleContext.getRegistry().registerTransformer(transformer);
}
catch (MuleException e)