* @throws IOException thrown if an error occurs
*/
public void writePacket(Packet packet, DataOutput dataOut) throws IOException {
super.writePacket(packet, dataOut);
Receipt info = (Receipt) packet;
super.writeUTF(info.getCorrelationId(), dataOut);
super.writeUTF(info.getBrokerName(), dataOut);
super.writeUTF(info.getClusterName(), dataOut);
dataOut.writeBoolean(info.isFailed());
super.writeObject(info.getException(), dataOut);
dataOut.writeByte(info.getBrokerMessageCapacity());
}