methodRegistry.createChannelCloseBody(
cause.getCode(),
new AMQShortString(message),
0,0);
writeFrame(responseBody.generateFrame((Integer)session.getID()));
}
public void close(AMQConstant cause, String message) throws AMQException
{
closeConnection(0, new AMQConnectionException(cause, message, 0, 0,