Add path-helper attribute for websocket namespace
Issue: SPR-11771
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
|
||||
<websocket:message-broker application-destination-prefix="/app"
|
||||
user-destination-prefix="/personal"
|
||||
path-matcher="pathMatcher">
|
||||
path-matcher="pathMatcher"
|
||||
path-helper="urlPathHelper">
|
||||
|
||||
<!-- message-size=128*1024, send-buffer-size=1024*1024 -->
|
||||
<websocket:transport message-size="131072" send-timeout="25000" send-buffer-size="1048576">
|
||||
@@ -40,6 +41,10 @@
|
||||
<property name="pathSeparator" value="." />
|
||||
</bean>
|
||||
|
||||
<bean id="urlPathHelper" class="org.springframework.web.util.UrlPathHelper">
|
||||
<property name="alwaysUseFullPath" value="true"/>
|
||||
</bean>
|
||||
|
||||
<bean id="myHandler" class="org.springframework.web.socket.config.TestHandshakeHandler"/>
|
||||
<bean id="barTestInterceptor" class="org.springframework.web.socket.config.BarTestInterceptor"/>
|
||||
<bean id="scheduler" class="org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler"/>
|
||||
|
||||
Reference in New Issue
Block a user