AMQ-6801: ensure transport listener is set before tripping latch to indicate startup is occuring

This commit is contained in:
Robbie Gemmell 2017-09-01 13:00:35 +01:00
parent 5e656d394c
commit 2e492569db
1 changed files with 1 additions and 1 deletions

View File

@ -149,9 +149,9 @@ public final class WSTransportProxy extends TransportSupport implements Transpor
@Override
protected void doStart() throws Exception {
transport.setTransportListener(getTransportListener());
socketTransportStarted.countDown();
transport.setTransportListener(getTransportListener());
transport.start();
}