|
@@ -65,11 +65,7 @@ public class WebSocketClientFactory {
|
|
|
*/
|
|
|
@Value("${terminal.alarm.compress}")
|
|
|
boolean compress;
|
|
|
- /**
|
|
|
- * 项目名称
|
|
|
- */
|
|
|
- @Value("${project.iotid}")
|
|
|
- String iotProjectId;
|
|
|
+
|
|
|
ExecutorService executor = ExecutorBuilder.create()
|
|
|
.setCorePoolSize(5)
|
|
|
.setMaxPoolSize(10)
|
|
@@ -105,8 +101,8 @@ public class WebSocketClientFactory {
|
|
|
WebSocketClient webSocketClient = new WebSocketClient(new URI(outCallWebSockertUrl)) {
|
|
|
@Override
|
|
|
public void onOpen(ServerHandshake serverHandshake) {
|
|
|
- String msg = iotProjectId;
|
|
|
- sendMsg(getOutCallWebSocketClientHolder(), msg);
|
|
|
+// String msg = iotProjectId;
|
|
|
+// sendMsg(getOutCallWebSocketClientHolder(), msg);
|
|
|
}
|
|
|
|
|
|
@Override
|