We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 554662e commit 76dcde9Copy full SHA for 76dcde9
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompHeaderAccessor.java
@@ -197,7 +197,8 @@ public StompCommand updateStompCommandAsClientMessage() {
197
}
198
StompCommand command = getCommand();
199
if (command == null) {
200
- setHeader(COMMAND_HEADER, StompCommand.SEND);
+ command = StompCommand.SEND
201
+ setHeader(COMMAND_HEADER, command);
202
203
else if (!command.equals(StompCommand.SEND)) {
204
throw new IllegalStateException("Unexpected STOMP command " + command);
0 commit comments