-
Notifications
You must be signed in to change notification settings - Fork 1.1k
GH-10487: Add STOMP CONNECT frame from the client
#10488
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
Conversation
Fixes: spring-projects#10487 * Fix `WebSocketInboundChannelAdapter` to register own client session in the `StompSubProtocolHandler` for a proper correlation for upcoming messages from the server * Fix `WebSocketOutboundMessageHandlerTests` to produce required STOMP `CONNECT` before publishing data Cherry-pick to `6.5.x` & `6.4.x`
|
NOTE: the cherry-pick might require some manual conflict fixes since there is no JSpecify in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for getting this turned around so quickly!
Looks good, just my usual annoying nitpicks.
...n/java/org/springframework/integration/websocket/inbound/WebSocketInboundChannelAdapter.java
Show resolved
Hide resolved
...n/java/org/springframework/integration/websocket/inbound/WebSocketInboundChannelAdapter.java
Show resolved
Hide resolved
...org/springframework/integration/websocket/outbound/WebSocketOutboundMessageHandlerTests.java
Show resolved
Hide resolved
|
@cppwfs , please, give this a priority. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes: #10487 * Fix `WebSocketInboundChannelAdapter` to register own client session in the `StompSubProtocolHandler` for a proper correlation for upcoming messages from the server * Fix `WebSocketOutboundMessageHandlerTests` to produce required STOMP `CONNECT` before publishing data **Auto-cherry-pick to `6.4.x`** # Conflicts: # spring-integration-websocket/src/main/java/org/springframework/integration/websocket/inbound/WebSocketInboundChannelAdapter.java
Fixes: #10487 * Fix `WebSocketInboundChannelAdapter` to register own client session in the `StompSubProtocolHandler` for a proper correlation for upcoming messages from the server * Fix `WebSocketOutboundMessageHandlerTests` to produce required STOMP `CONNECT` before publishing data # Conflicts: # spring-integration-websocket/src/main/java/org/springframework/integration/websocket/inbound/WebSocketInboundChannelAdapter.java (cherry picked from commit 30d4159)
Fixes: #10487
WebSocketInboundChannelAdapterto register own client session in theStompSubProtocolHandlerfor a proper correlation for upcoming messages from the serverWebSocketOutboundMessageHandlerTeststo produce required STOMPCONNECTbefore publishing dataCherry-pick to
6.5.x&6.4.x