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