}
Map<String, MessageFlowRecord> records = ((ClusterConnectionImpl)getServer(1).getClusterManager()
.getClusterConnection(new SimpleString("cluster1"))).getRecords();
RemotingConnection rc = records.get("0").getBridge().getForwardingConnection();
rc.addFailureListener(new MyListener());
fail(rc, latch);
waitForServerRestart(2);
setupSessionFactory(2, isNetty());