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 |
|---|---|
void |
convertAndSendToUser(String user,
String destination,
Object payload)
Send a message to a specific user.
|
void |
convertAndSendToUser(String user,
String destination,
Object payload,
Map<String,Object> headers)
Send a message to a specific user.
|
void |
convertAndSendToUser(String user,
String destination,
Object payload,
Map<String,Object> headers,
MessagePostProcessor postProcessor)
Send a message to a specific user.
|
void |
convertAndSendToUser(String user,
String destination,
Object payload,
MessagePostProcessor postProcessor)
Send a message to a specific user.
|
convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, send, sendvoid convertAndSendToUser(String user, String destination, Object payload) throws MessagingException
user - the user that should receive the message.destination - the destination to send the message to.payload - the payload to sendMessagingExceptionvoid convertAndSendToUser(String user, String destination, Object payload, Map<String,Object> headers) throws MessagingException
user - the user that should receive the message.destination - the destination to send the message to.payload - the payload to sendheaders - the message headersMessagingExceptionvoid convertAndSendToUser(String user, String destination, Object payload, MessagePostProcessor postProcessor) throws MessagingException
user - the user that should receive the message.destination - the destination to send the message to.payload - the payload to sendpostProcessor - a postProcessor to post-process or modify the created messageMessagingExceptionvoid convertAndSendToUser(String user, String destination, Object payload, Map<String,Object> headers, MessagePostProcessor postProcessor) throws MessagingException
user - the user that should receive the message.destination - the destination to send the message to.payload - the payload to sendheaders - the message headerspostProcessor - a postProcessor to post-process or modify the created messageMessagingException