|
@@ -25,6 +25,7 @@ import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.text.MessageFormat;
|
|
|
import java.util.ArrayList;
|
|
|
+import java.util.Arrays;
|
|
|
import java.util.List;
|
|
|
import java.util.concurrent.ConcurrentHashMap;
|
|
|
import java.util.concurrent.CountDownLatch;
|
|
@@ -134,6 +135,15 @@ public class TcpServiceImplV2 implements TcpServiceV2 {
|
|
|
*/
|
|
|
@Override
|
|
|
public AjaxResult openAndReturnGoHeavyData(List<String> ips, String busUuid, String userId) {
|
|
|
+ // TODO test
|
|
|
+// JSONObject testData = new JSONObject();
|
|
|
+// testData.put("messageId", IdUtils.fastSimpleUUID());
|
|
|
+// testData.put("msgSource", MsgSourceEnum.MSG_SOURCE_2.getKey());
|
|
|
+// testData.put("userId", userId);
|
|
|
+// testData.put("notices", Arrays.asList("fsds2137862138","dsadsa21346218"));
|
|
|
+// rabbitmqService.send(testData);
|
|
|
+
|
|
|
+
|
|
|
Integer count = 0;
|
|
|
try {
|
|
|
CountDownLatch countDownLatch = new CountDownLatch(ips.size());
|