String messageJson = message.getPayload();
log.debug("Req-> {}", messageJson);
// TODO Ensure only one register message per websocket session.
ServerSessionFactory factory = new ServerSessionFactory() {
@Override
public ServerSession createSession(String sessionId,
Object registerInfo, SessionsManager sessionsManager) {
return new WebSocketServerSession(sessionId, registerInfo,
sessionsManager, wsSession);