// For the moment we are going to force it sending another
// message.
}
};
WebSocketConnectionManager connectionManager = new WebSocketConnectionManager(
new StandardWebSocketClient(), webSocketHandler, url);
connectionManager.setHeaders(headers);
connectionManager.start();
try {
// FIXME: Make this configurable and search a way to detect the
// underlying connection timeout
if (!latch.await(10, TimeUnit.SECONDS)) {