mirror of
https://github.com/apache/activemq.git
synced 2025-02-27 20:59:06 +00:00
AMQ-6801: ensure transport listener is set before tripping latch to indicate startup is occuring
(cherry picked from commit 2e492569db2345cf3be8532630f93219159a8b15)
This commit is contained in:
parent
eca72dc81a
commit
ca86e2fbe6
@ -149,9 +149,9 @@ public final class WSTransportProxy extends TransportSupport implements Transpor
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void doStart() throws Exception {
|
protected void doStart() throws Exception {
|
||||||
|
transport.setTransportListener(getTransportListener());
|
||||||
socketTransportStarted.countDown();
|
socketTransportStarted.countDown();
|
||||||
|
|
||||||
transport.setTransportListener(getTransportListener());
|
|
||||||
transport.start();
|
transport.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user