|
|
@ -145,10 +145,11 @@ public class TbWebSocketHandler extends TextWebSocketHandler implements WebSocke |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
var tenantProfileConfiguration = getTenantProfileConfiguration(sessionRef); |
|
|
var tenantProfileConfiguration = getTenantProfileConfiguration(sessionRef); |
|
|
|
|
|
int wsTenantProfileQueueLimit = tenantProfileConfiguration != null ? |
|
|
|
|
|
tenantProfileConfiguration.getWsMsgQueueLimitPerSession() : wsMaxQueueMessagesPerSession; |
|
|
internalSessionMap.put(internalSessionId, new SessionMetaData(session, sessionRef, |
|
|
internalSessionMap.put(internalSessionId, new SessionMetaData(session, sessionRef, |
|
|
tenantProfileConfiguration != null && tenantProfileConfiguration.getWsMsgQueueLimitPerSession() > 0 && |
|
|
(wsTenantProfileQueueLimit > 0 && wsTenantProfileQueueLimit < wsMaxQueueMessagesPerSession) ? |
|
|
tenantProfileConfiguration.getWsMsgQueueLimitPerSession() < wsMaxQueueMessagesPerSession ? |
|
|
wsTenantProfileQueueLimit : wsMaxQueueMessagesPerSession)); |
|
|
tenantProfileConfiguration.getWsMsgQueueLimitPerSession() : wsMaxQueueMessagesPerSession)); |
|
|
|
|
|
|
|
|
|
|
|
externalSessionMap.put(externalSessionId, internalSessionId); |
|
|
externalSessionMap.put(externalSessionId, internalSessionId); |
|
|
processInWebSocketService(sessionRef, SessionEvent.onEstablished()); |
|
|
processInWebSocketService(sessionRef, SessionEvent.onEstablished()); |
|
|
|