-
Notifications
You must be signed in to change notification settings - Fork 38.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug logging for WebSocket lifecycle in WebSocketStompClient #23793
Debug logging for WebSocket lifecycle in WebSocketStompClient #23793
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