random.nextBytes(payload);
final AMQBody body = new ContentBody(payload);
AMQFrame frame = new AMQFrame(1, body);
byte[] outputBuf = new byte[4096];
BytesDataOutput dataOutput = new BytesDataOutput(outputBuf);
frame.writePayload(dataOutput);
for(int i = 0 ; i < dataOutput.length(); i++)
{
_decoder.decodeBuffer(ByteBuffer.wrap(outputBuf, i, 1));
}