Debug logging for WebSocket lifecycle in WebSocketStompClient#23793
Debug logging for WebSocket lifecycle in WebSocketStompClient#23793alexandrumm wants to merge 1 commit intospring-projects:masterfrom alexandrumm:ws-stomp-client-add-log
Conversation
|
I think this should be done by decorating the WebSocketHandler, i.e. |
|
Hello, @rstoyanchev. Thanks in advance! |
|
This should be fine: WebSocketTcpConnectionHandlerAdapter adapter = new WebSocketTcpConnectionHandlerAdapter(session);
getWebSocketClient()
.doHandshake(new LoggingWebSocketHandlerDecorator(adapter), handshakeHeaders, url)
.addCallback(adapter); |
|
Right, I missed the obvious solution there. Thanks a lot! 😄 |
@pivotal-issuemaster This is an Obvious Fix