// then wait for the connection to close.
// ritchiem: Could this release BlockingWaiters to early? The close has been done as much as possible so any
// error now shouldn't matter.
_protocolHandler.getStateManager().changeState(AMQState.CONNECTION_CLOSED);
future.join(LAST_WRITE_FUTURE_JOIN_TIMEOUT);
}
public void failover(String host, int port)
{
_protocolHandler.failover(host, port);