public interface SimpMessageSendingOperations extends MessageSendingOperations<java.lang.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(java.lang.String user,
java.lang.String destination,
java.lang.Object payload)
Send a message to a specific user.
|
void |
convertAndSendToUser(java.lang.String user,
java.lang.String destination,
java.lang.Object payload,
java.util.Map<java.lang.String,java.lang.Object> headers)
Send a message to a specific user.
|
void |
convertAndSendToUser(java.lang.String user,
java.lang.String destination,
java.lang.Object payload,
java.util.Map<java.lang.String,java.lang.Object> headers,
MessagePostProcessor postProcessor)
Send a message to a specific user.
|
void |
convertAndSendToUser(java.lang.String user,
java.lang.String destination,
java.lang.Object payload,
MessagePostProcessor postProcessor)
Send a message to a specific user.
|
convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, send, send
void convertAndSendToUser(java.lang.String user, java.lang.String destination, java.lang.Object payload) throws MessagingException
user
- the user that should receive the message.destination
- the destination to send the message to.payload
- the payload to sendMessagingException
void convertAndSendToUser(java.lang.String user, java.lang.String destination, java.lang.Object payload, java.util.Map<java.lang.String,java.lang.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 headersMessagingException
void convertAndSendToUser(java.lang.String user, java.lang.String destination, java.lang.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 messageMessagingException
void convertAndSendToUser(java.lang.String user, java.lang.String destination, java.lang.Object payload, java.util.Map<java.lang.String,java.lang.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