使用Spring STOMP時ChannelInterceptor無法獲取用戶信息
Spring中websocket相關的Bean有一個專門的Scope——websocket,因此這在這些Bean當中是無法注入Scope為request的各種Bean的。這也挺正常的,一個websoc ...
Spring中websocket相關的Bean有一個專門的Scope——websocket,因此這在這些Bean當中是無法注入Scope為request的各種Bean的。這也挺正常的,一個websoc ...