for (ClusterConnection conn : servers[0].getClusterManager().getClusterConnections())
{
ClusterConnectionImpl implConn = (ClusterConnectionImpl)conn;
for (MessageFlowRecord record : implConn.getRecords().values())
{
ClusterConnectionBridge bridge = (ClusterConnectionBridge)record.getBridge();
bridge.setupRetry(2, 1);
bridge.connectionFailed(new HornetQException(1, "test"), false);
}
System.out.println("conn " + conn);
}