|
@@ -59,13 +59,11 @@ public abstract class EvtFusionEngine implements IFusionEngine {
|
|
|
threadPoolTaskExecutor.execute(() -> {
|
|
|
while (true) {
|
|
|
try {
|
|
|
- logger.info("{} is running", this.engineName);
|
|
|
JSONObject msg = queue.get(finalI).take();
|
|
|
LocationInfo locationInfoNew = new LocationInfo(msg.getDouble("latitude"),
|
|
|
msg.getDouble("longitude"), msg.getLong("srcTimestamp"));
|
|
|
locationInfoNew.setMsg(msg);
|
|
|
String key = getKey(locationInfoNew);
|
|
|
- logger.info("{} is running {}", this.engineName, key);
|
|
|
if (!redisService.hasKey(key)) {
|
|
|
getBizId(locationInfoNew);
|
|
|
redisService.setCacheObject(key, locationInfoNew);
|
|
@@ -98,9 +96,6 @@ public abstract class EvtFusionEngine implements IFusionEngine {
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- catch (Exception e) {
|
|
|
- logger.error("{} error", this.engineName, e);
|
|
|
- }
|
|
|
}
|
|
|
});
|
|
|
}
|