String in_xml = exchange.getIn().getBody(String.class);
FileReader reference_file1_reader = new FileReader(new File(context.reference_file1));
Diff diff = XMLUnit.compareXML(in_xml, reference_file1_reader);
exchange.getIn().setBody(diff.identical() ? "identical" : "different");