File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
spring-messaging/src/main/java/org/springframework/messaging/simp/broker Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2015 the original author or authors.
2+ * Copyright 2002-2016 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.
@@ -223,12 +223,6 @@ protected void handleMessageInternal(Message<?> message) {
223223 return ;
224224 }
225225
226- SimpMessageHeaderAccessor accessor = MessageHeaderAccessor .getAccessor (message , SimpMessageHeaderAccessor .class );
227- if (accessor == null ) {
228- throw new IllegalStateException (
229- "No header accessor (not using the SimpMessagingTemplate?): " + message );
230- }
231-
232226 if (SimpMessageType .MESSAGE .equals (messageType )) {
233227 logMessage (message );
234228 sendMessageToSubscribers (destination , message );
You can’t perform that action at this time.
0 commit comments