firePropertyChange(PAYLOAD_STRUCTURE, (old != null) ? old : docId, xml);
}
}
private void setPayloadStructureImpl(XmlStructure xml) {
xmlPayloadStructure = (xml != null) ? new XmlStructure(xml) : null;
setProperty(PAYLOAD_DOCUMENT_ID, null);
// Always set the payload type to XML, even if xml == null.
// This allows the user to specify and save the type, without
// committing to a particular XML structure. (Note that this
// JmsMessage will be invalid though, and cannot be deployed.)