MarcGiffing / wicket-spring-boot

Spring Boot starter for Apache Wicket
151 stars 61 forks source link

WebSocketMessageSenderDefault.sendTo() fails when no Wicket application is bound to the current thread #201

Open reckart opened 11 months ago

reckart commented 11 months ago

WebSocketMessageSenderDefault.sendTo() fails when no Wicket application is bound to the current thread. However, WebSocketMessageSenderDefault.sendToAll() works because it simply uses the Wicket application that was passed to the constructor.

WebSocketMessageSenderDefault.sendTo() should also use the Wicket application from the constructor instead of trying to obtain a thread-bound application.