report(frame.channel, frame);
}
}
private void doFrame() throws IOException {
Frame frame = readFrame();
if (frame != null) {
if (this.silentMode) {
frame.writeTo(this.outStream);
return;
}
if (frame.type == AMQP.FRAME_HEARTBEAT) {
if (this.writeHeartBeats) {
frame.writeTo(this.outStream);
report(frame.channel, frame);
} else {
report(frame.channel, "(withheld) " + frame.toString());
}
} else {
frame.writeTo(this.outStream);
if (this.noDecodeFrames) {
report(frame.channel, frame);
} else if (this.noAssembleFrames) {
reportFrame(frame);
} else {