public interface SimpMessageSendingOperations extends MessageSendingOperations<String>
MessageSendingOperations with methods for use with
the Spring Framework support for simple messaging protocols (like STOMP).| Modifier and Type | Method and Description |
|---|---|
<T> void |
convertAndSendToUser(String user,
String destination,
T message)
Send a message to a specific user.
|
<T> void |
convertAndSendToUser(String user,
String destination,
T message,
MessagePostProcessor postProcessor)
Send a message to a specific user.
|
convertAndSend, convertAndSend, convertAndSend, convertAndSend, send, send<T> void convertAndSendToUser(String user, String destination, T message) throws MessagingException
user - the user that should receive the message.destination - the destination to send the message to.message - the message to sendMessagingException<T> void convertAndSendToUser(String user, String destination, T message, MessagePostProcessor postProcessor) throws MessagingException
user - the user that should receive the message.destination - the destination to send the message to.message - the message to sendpostProcessor - a postProcessor to post-process or modify the created messageMessagingException