else if (message instanceof ProtocolInitiation)
{
// We get here if the server sends a response to our initial protocol header
// suggesting an alternate ProtocolVersion; the server will then close the
// connection.
ProtocolInitiation protocolInit = (ProtocolInitiation) message;
_suggestedProtocolVersion = protocolInit.checkVersion();
_logger.info("Broker suggested using protocol version:" + _suggestedProtocolVersion);
// get round a bug in old versions of qpid whereby the connection is not closed
_stateManager.changeState(AMQState.CONNECTION_CLOSED);
}