|
|
@ -343,13 +343,14 @@ public class UIEventAdapter implements OutputEventAdapter {
|
|
|
|
// get all subscribed web-socket sessions.
|
|
|
|
// get all subscribed web-socket sessions.
|
|
|
|
CopyOnWriteArrayList<CEPWebSocketSession> cepWebSocketSessions =
|
|
|
|
CopyOnWriteArrayList<CEPWebSocketSession> cepWebSocketSessions =
|
|
|
|
uiOutputCallbackControllerServiceImpl.getSessions(tenantId, streamId);
|
|
|
|
uiOutputCallbackControllerServiceImpl.getSessions(tenantId, streamId);
|
|
|
|
|
|
|
|
if (cepWebSocketSessions != null) {
|
|
|
|
for (CEPWebSocketSession cepWebSocketSession : cepWebSocketSessions) {
|
|
|
|
for (CEPWebSocketSession cepWebSocketSession : cepWebSocketSessions) {
|
|
|
|
boolean isValidSession = validateEventAgainstSessionFilters(event, cepWebSocketSession);
|
|
|
|
boolean isValidSession = validateEventAgainstSessionFilters(event, cepWebSocketSession);
|
|
|
|
if (isValidSession) {
|
|
|
|
if (isValidSession) {
|
|
|
|
validSessions.add(cepWebSocketSession);
|
|
|
|
validSessions.add(cepWebSocketSession);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
return validSessions;
|
|
|
|
return validSessions;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|