Class SimpMessagingTemplate

java.lang.Object
org.springframework.messaging.core.AbstractMessageSendingTemplate<String>
org.springframework.messaging.simp.SimpMessagingTemplate
All Implemented Interfaces:
MessageSendingOperations<String>, SimpMessageSendingOperations

public class SimpMessagingTemplate extends AbstractMessageSendingTemplate<String> implements SimpMessageSendingOperations
An implementation of SimpMessageSendingOperations.

Also provides methods for sending messages to a user. See UserDestinationResolver for more on user destinations.

Since:
4.0
Author:
Rossen Stoyanchev
  • Constructor Details

    • SimpMessagingTemplate

      public SimpMessagingTemplate(MessageChannel messageChannel)
      Create a new SimpMessagingTemplate instance.
      Parameters:
      messageChannel - the message channel (never null)
  • Method Details