report(frame.channel, AMQImpl.readMethodFrom(frame.getInputStream()));
break;
}
case AMQP.FRAME_HEADER: {
AMQContentHeader contentHeader = AMQImpl
.readContentHeaderFrom(frame.getInputStream());
long remainingBodyBytes = contentHeader.getBodySize();
StringBuilder sb = new StringBuilder("Expected body size: ")
.append(remainingBodyBytes).append("; ")
.append(contentHeader);
report(frame.channel, sb);
break;