return bridge.unmarshal(payload,
hasAttachments()? new AttachmentUnmarshallerImpl(getAttachments()) : null);
}
public XMLStreamReader readPayload() throws XMLStreamException {
DOMStreamReader dss = new DOMStreamReader();
dss.setCurrentNode(payload);
dss.nextTag();
assert dss.getEventType()==XMLStreamReader.START_ELEMENT;
return dss;
}