{
m_format = message.getFormat();
}
else if (m_format != message.getFormat())
{
throw new MetadataException("err.meta.integration.messageTableMismatch",
new Object[]{message.getName(), m_format.getName(),
(message.getFormat() == null) ? "" : message.getFormat().getName()});
}
Object oldMessage = m_messageMap.put(message.getName(), message);
if (oldMessage != null)
{
m_messageMap.put(message.getName(), oldMessage);
throw new MetadataException("err.meta.integration.messageTableDup",
new Object[]{message.getName()});
}
m_messageList.add(message);
}