从WebSocket端点我尝试调用Singleton Service.但我无法使用WebSocket的Request或Session范围.
(@Scope(value ="request",proxyMode = ScopedProxyMode.TARGET_CLASS))
我得到Scope''''对当前线程无效; 对于任何'ScopedProxyMode'的'request'或'session'范围.
谢谢您的帮助!
spring scope spring-websocket
scope ×1
spring ×1
spring-websocket ×1