String payload = lines[payloadLine];
String xml = StringUtils.substringAfter(payload, "Payload: ");
XmlPrettyPrinter pp = new XmlPrettyPrinter();
try
{
xml = (String) pp.transform(xml);
}
catch (MuleException e)
{
System.err.println(e.getMessage());
}