params.setChannelMax(frame.channelMax);
params.setHeartbeat(Integer.getInteger("amqj.heartbeat.delay", frame.heartbeat));
session.setConnectionTuneParameters(params);
stateManager.changeState(AMQState.CONNECTION_NOT_OPENED);
session.writeFrame(createTuneOkFrame(evt.getChannelId(), params));
session.writeFrame(createConnectionOpenFrame(evt.getChannelId(), session.getAMQConnection().getVirtualHost(), null, true));
}
protected AMQFrame createConnectionOpenFrame(int channel, String path, String capabilities, boolean insist)
{