Browse Source

Collapse messaging.simp.handler into messaging.simp

pull/425/head
Rossen Stoyanchev 11 years ago
parent
commit
fcecd0328a
  1. 2
      spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageMappingInfo.java
  2. 4
      spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageTypeMessageCondition.java
  3. 4
      spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandler.java
  4. 1
      spring-messaging/src/main/java/org/springframework/messaging/simp/broker/AbstractBrokerMessageHandler.java
  5. 2
      spring-messaging/src/main/java/org/springframework/messaging/simp/broker/BrokerAvailabilityEvent.java
  6. 4
      spring-messaging/src/main/java/org/springframework/messaging/simp/handler/package-info.java
  7. 3
      spring-messaging/src/test/java/org/springframework/messaging/simp/SimpMessageTypeMessageConditionTests.java
  8. 2
      spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerIntegrationTests.java

2
spring-messaging/src/main/java/org/springframework/messaging/simp/handler/SimpMessageMappingInfo.java → spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageMappingInfo.java

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.messaging.simp.handler;
package org.springframework.messaging.simp;
import org.springframework.messaging.Message;
import org.springframework.messaging.handler.DestinationPatternsMessageCondition;

4
spring-messaging/src/main/java/org/springframework/messaging/simp/handler/SimpMessageTypeMessageCondition.java → spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageTypeMessageCondition.java

@ -14,12 +14,10 @@ @@ -14,12 +14,10 @@
* limitations under the License.
*/
package org.springframework.messaging.simp.handler;
package org.springframework.messaging.simp;
import org.springframework.messaging.Message;
import org.springframework.messaging.handler.AbstractMessageCondition;
import org.springframework.messaging.simp.SimpMessageHeaderAccessor;
import org.springframework.messaging.simp.SimpMessageType;
import org.springframework.util.Assert;
import java.util.Arrays;

4
spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandler.java

@ -56,8 +56,8 @@ import org.springframework.messaging.simp.SimpMessageHeaderAccessor; @@ -56,8 +56,8 @@ import org.springframework.messaging.simp.SimpMessageHeaderAccessor;
import org.springframework.messaging.simp.SimpMessageSendingOperations;
import org.springframework.messaging.simp.SimpMessagingTemplate;
import org.springframework.messaging.simp.annotation.SubscribeMapping;
import org.springframework.messaging.simp.handler.SimpMessageMappingInfo;
import org.springframework.messaging.simp.handler.SimpMessageTypeMessageCondition;
import org.springframework.messaging.simp.SimpMessageMappingInfo;
import org.springframework.messaging.simp.SimpMessageTypeMessageCondition;
import org.springframework.messaging.support.MessageBuilder;
import org.springframework.stereotype.Controller;
import org.springframework.util.AntPathMatcher;

1
spring-messaging/src/main/java/org/springframework/messaging/simp/broker/AbstractBrokerMessageHandler.java

@ -28,7 +28,6 @@ import org.springframework.context.ApplicationEventPublisherAware; @@ -28,7 +28,6 @@ import org.springframework.context.ApplicationEventPublisherAware;
import org.springframework.context.SmartLifecycle;
import org.springframework.messaging.Message;
import org.springframework.messaging.MessageHandler;
import org.springframework.messaging.simp.BrokerAvailabilityEvent;
import org.springframework.util.CollectionUtils;
/**

2
spring-messaging/src/main/java/org/springframework/messaging/simp/BrokerAvailabilityEvent.java → spring-messaging/src/main/java/org/springframework/messaging/simp/broker/BrokerAvailabilityEvent.java

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.messaging.simp;
package org.springframework.messaging.simp.broker;
import org.springframework.context.ApplicationEvent;

4
spring-messaging/src/main/java/org/springframework/messaging/simp/handler/package-info.java

@ -1,4 +0,0 @@ @@ -1,4 +0,0 @@
/**
* MessageHandler implementation and supporting classes for message processing.
*/
package org.springframework.messaging.simp.handler;

3
spring-messaging/src/test/java/org/springframework/messaging/simp/handler/SimpMessageTypeMessageConditionTests.java → spring-messaging/src/test/java/org/springframework/messaging/simp/SimpMessageTypeMessageConditionTests.java

@ -14,12 +14,13 @@ @@ -14,12 +14,13 @@
* limitations under the License.
*/
package org.springframework.messaging.simp.handler;
package org.springframework.messaging.simp;
import org.junit.Test;
import org.springframework.messaging.Message;
import org.springframework.messaging.simp.SimpMessageHeaderAccessor;
import org.springframework.messaging.simp.SimpMessageType;
import org.springframework.messaging.simp.SimpMessageTypeMessageCondition;
import org.springframework.messaging.support.MessageBuilder;
import static org.junit.Assert.*;

2
spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerIntegrationTests.java

@ -38,7 +38,7 @@ import org.springframework.messaging.MessageDeliveryException; @@ -38,7 +38,7 @@ import org.springframework.messaging.MessageDeliveryException;
import org.springframework.messaging.MessageHandler;
import org.springframework.messaging.MessagingException;
import org.springframework.messaging.StubMessageChannel;
import org.springframework.messaging.simp.BrokerAvailabilityEvent;
import org.springframework.messaging.simp.broker.BrokerAvailabilityEvent;
import org.springframework.messaging.simp.SimpMessageType;
import org.springframework.messaging.support.ExecutorSubscribableChannel;
import org.springframework.messaging.support.MessageBuilder;

Loading…
Cancel
Save