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 11/*
2- * Copyright 2002-2014 the original author or authors.
2+ * Copyright 2002-2015 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2828
2929import org .apache .commons .logging .Log ;
3030import org .apache .commons .logging .LogFactory ;
31+
3132import org .springframework .context .ApplicationEvent ;
3233import org .springframework .context .ApplicationEventPublisher ;
3334import org .springframework .context .ApplicationEventPublisherAware ;
@@ -200,7 +201,7 @@ else if (webSocketMessage instanceof BinaryMessage) {
200201 byteBuffer = ((BinaryMessage ) webSocketMessage ).getPayload ();
201202 }
202203 else {
203- throw new IllegalArgumentException ( "Unexpected WebSocket message type: " + webSocketMessage ) ;
204+ return ;
204205 }
205206
206207 BufferingStompDecoder decoder = this .decoders .get (session .getId ());
You can’t perform that action at this time.
0 commit comments