File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
spring-websocket/src/main/java/org/springframework/web/socket/messaging Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2014 the original author or authors.
2
+ * Copyright 2002-2015 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
28
28
29
29
import org .apache .commons .logging .Log ;
30
30
import org .apache .commons .logging .LogFactory ;
31
+
31
32
import org .springframework .context .ApplicationEvent ;
32
33
import org .springframework .context .ApplicationEventPublisher ;
33
34
import org .springframework .context .ApplicationEventPublisherAware ;
@@ -200,7 +201,7 @@ else if (webSocketMessage instanceof BinaryMessage) {
200
201
byteBuffer = ((BinaryMessage ) webSocketMessage ).getPayload ();
201
202
}
202
203
else {
203
- throw new IllegalArgumentException ( "Unexpected WebSocket message type: " + webSocketMessage ) ;
204
+ return ;
204
205
}
205
206
206
207
BufferingStompDecoder decoder = this .decoders .get (session .getId ());
You can’t perform that action at this time.
0 commit comments