This closes #658
This commit is contained in:
commit
7a0d3fea22
|
@ -540,7 +540,7 @@ public final class ServerLocatorImpl implements ServerLocatorInternal, Discovery
|
|||
// if the topologyArray is null, we will use the initialConnectors
|
||||
if (usedTopology != null) {
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.trace("Selecting connector from toplogy.");
|
||||
logger.trace("Selecting connector from topology.");
|
||||
}
|
||||
int pos = loadBalancingPolicy.select(usedTopology.length);
|
||||
Pair<TransportConfiguration, TransportConfiguration> pair = usedTopology[pos];
|
||||
|
@ -1844,7 +1844,7 @@ public final class ServerLocatorImpl implements ServerLocatorInternal, Discovery
|
|||
return clone;
|
||||
}
|
||||
|
||||
public boolean isReceivedToplogy() {
|
||||
public boolean isReceivedTopology() {
|
||||
return receivedTopology;
|
||||
}
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ public class ActiveMQClusteredTest extends ActiveMQRAClusteredTestBase {
|
|||
long timeout = 10000;
|
||||
long now = System.currentTimeMillis();
|
||||
|
||||
while (!((ServerLocatorImpl)cf1.getServerLocator()).isReceivedToplogy()) {
|
||||
while (!((ServerLocatorImpl)cf1.getServerLocator()).isReceivedTopology()) {
|
||||
Thread.sleep(50);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue