data = ByteBuffer.allocate(0);
}
if (debug)
{
_logger.debug("Creating message from buffer with position=" + data.position() + " and remaining=" + data
.remaining());
}
// set the properties of this message
MessageProperties mprop = (MessageProperties) contentHeader[0];
DeliveryProperties devprop = (DeliveryProperties) contentHeader[1];