Transfer the websocket server to the spring container.