private Message(AMQProtocolSession protocolsession, long messageId,
MessagePublishInfo publish,
ContentHeaderBody header,
List<ContentBody> bodies) throws AMQException
{
super(new MockStoredMessage(messageId, publish, header));
StoredMessage<MessageMetaData> storedMessage = getStoredMessage();
int pos = 0;
for(ContentBody body : bodies)