(ClientConnectionFactoryDelegate[])sortedLocalDelegates.
toArray(new ClientConnectionFactoryDelegate[sortedLocalDelegates.size()]);
Map failoverMap = serverPeer.getPostOfficeInstance().getFailoverMap();
LoadBalancingPolicy lbp = loadBalancingFactory.createLoadBalancingPolicy(delegates);
endpoint.updateTopology(delegates, failoverMap);
return new ClientClusteredConnectionFactoryDelegate(uniqueName, delegates, failoverMap, lbp, supportsFailover, enableOrderingGroup, defaultOrderingGroupName);
}