mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-06 01:59:00 +00:00
This closes #410
This commit is contained in:
commit
8cbcc809a4
@ -809,6 +809,9 @@ public final class ServerLocatorImpl implements ServerLocatorInternal, Discovery
|
||||
// how the sendSubscription happens.
|
||||
// in case this ever changes.
|
||||
if (topology != null && !factory.waitForTopology(callTimeout, TimeUnit.MILLISECONDS)) {
|
||||
if (factory != null) {
|
||||
factory.cleanup();
|
||||
}
|
||||
throw ActiveMQClientMessageBundle.BUNDLE.connectionTimedOutOnReceiveTopology(discoveryGroup);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user