"Existing message and new message types do not match.");
}
byte[] bytes = getBytesFromMessage(messageBody);
newMsgID = d.replaceMessageString(sysMsgID, null,
bytes);
if (newMsgID == null) {
throw new BrokerException(
"New message ID not returned as expected.");