We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b8a937 commit 4fe94dfCopy full SHA for 4fe94df
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompHeaderAccessor.java
@@ -194,7 +194,8 @@ public StompCommand updateStompCommandAsClientMessage() {
194
}
195
StompCommand command = getCommand();
196
if (command == null) {
197
- setHeader(COMMAND_HEADER, StompCommand.SEND);
+ command = StompCommand.SEND;
198
+ setHeader(COMMAND_HEADER, command);
199
200
else if (!command.equals(StompCommand.SEND)) {
201
throw new IllegalStateException("Unexpected STOMP command " + command);
0 commit comments