Package org.springframework.messaging.simp

Examples of org.springframework.messaging.simp.SimpMessageType


    @Override
    public Message<?> preSend(Message<?> message, MessageChannel channel) {
        if(message == null) {
            return message;
        }
        SimpMessageType messageType = SimpMessageHeaderAccessor.getMessageType(message.getHeaders());
        if(!this.matchingMessageTypes.contains(messageType)) {
            return super.preSend(message, channel);
        }
        Map<String, Object> sessionHeaders = SimpMessageHeaderAccessor.getSessionAttributes(message.getHeaders());
        String sessionId = sessionHeaders == null ? null : (String) sessionHeaders.get(SPRING_SESSION_ID_ATTR_NAME);
View Full Code Here

TOP

Related Classes of org.springframework.messaging.simp.SimpMessageType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.