throw new AMQException(null, "No locales sent from server, passed: " + locales, null);
}
session.getStateManager().changeState(AMQState.CONNECTION_NOT_TUNED);
FieldTable clientProperties = FieldTableFactory.newFieldTable();
clientProperties.setString(ConnectionStartProperties.CLIENT_ID_0_8,
session.getClientID());
clientProperties.setString(ConnectionStartProperties.PRODUCT,
QpidProperties.getProductName());
clientProperties.setString(ConnectionStartProperties.VERSION_0_8,
QpidProperties.getReleaseVersion());
clientProperties.setString(ConnectionStartProperties.PLATFORM,
ConnectionStartProperties.getPlatformInfo());
clientProperties.setString(ConnectionStartProperties.PROCESS,
System.getProperty(ClientProperties.PROCESS_NAME, "Qpid Java Client"));
clientProperties.setInteger(ConnectionStartProperties.PID,
ConnectionStartProperties.getPID());
FieldTable serverProperties = body.getServerProperties();
session.setConnectionStartServerProperties(serverProperties);
ConnectionURL url = getConnectionURL(session);
_closeWhenNoRouteHelper.setClientProperties(clientProperties, url, serverProperties);