HierarchicalStreamWriter writer = createHierarchicalStreamWriter(exchange, body, stream);
getXStream().marshal(body, writer);
}
public Object unmarshal(Exchange exchange, InputStream stream) throws Exception {
HierarchicalStreamReader reader = createHierarchicalStreamReader(exchange, stream);
return getXStream().unmarshal(reader);
}