Package | Description |
---|---|
org.springframework.jms.core |
Core package of the JMS support.
|
org.springframework.messaging.core |
Defines interfaces and implementation classes for messaging templates.
|
org.springframework.messaging.simp |
Generic support for Simple Messaging Protocols including protocols such as STOMP.
|
Modifier and Type | Method and Description |
---|---|
void |
JmsMessagingTemplate.convertAndSend(Object payload,
MessagePostProcessor postProcessor) |
void |
JmsMessageOperations.convertAndSend(String destinationName,
Object payload,
Map<String,Object> headers,
MessagePostProcessor postProcessor)
Convert the given Object to serialized form, possibly using a
MessageConverter ,
wrap it as a message with the given headers, apply the given post processor,
and send the resulting message to the given destination. |
void |
JmsMessagingTemplate.convertAndSend(String destinationName,
Object payload,
Map<String,Object> headers,
MessagePostProcessor postProcessor) |
void |
JmsMessageOperations.convertAndSend(String destinationName,
Object payload,
MessagePostProcessor postProcessor)
Convert the given Object to serialized form, possibly using a
MessageConverter ,
wrap it as a message, apply the given post processor, and send
the resulting message to the given destination. |
void |
JmsMessagingTemplate.convertAndSend(String destinationName,
Object payload,
MessagePostProcessor postProcessor) |
<T> T |
JmsMessagingTemplate.convertSendAndReceive(Object request,
Class<T> targetClass,
MessagePostProcessor postProcessor) |
<T> T |
JmsMessageOperations.convertSendAndReceive(String destinationName,
Object request,
Class<T> targetClass,
MessagePostProcessor requestPostProcessor)
Convert the given request Object to serialized form, possibly using a
MessageConverter ,
apply the given post processor and send the resulting Message to the
given destination, receive the reply and convert its body of the given
target class. |
<T> T |
JmsMessagingTemplate.convertSendAndReceive(String destinationName,
Object request,
Class<T> targetClass,
MessagePostProcessor requestPostProcessor) |
<T> T |
JmsMessageOperations.convertSendAndReceive(String destinationName,
Object request,
Map<String,Object> headers,
Class<T> targetClass,
MessagePostProcessor requestPostProcessor)
Convert the given request Object to serialized form, possibly using a
MessageConverter ,
wrap it as a message with the given headers, apply the given post processor
and send the resulting Message to the specified destination, receive
the reply and convert its body of the given target class. |
<T> T |
JmsMessagingTemplate.convertSendAndReceive(String destinationName,
Object request,
Map<String,Object> headers,
Class<T> targetClass,
MessagePostProcessor postProcessor) |
Modifier and Type | Method and Description |
---|---|
void |
MessageSendingOperations.convertAndSend(D destination,
Object payload,
Map<String,Object> headers,
MessagePostProcessor postProcessor)
Convert the given Object to serialized form, possibly using a
MessageConverter ,
wrap it as a message with the given headers, apply the given post processor,
and send the resulting message to the given destination. |
void |
AbstractMessageSendingTemplate.convertAndSend(D destination,
Object payload,
Map<String,Object> headers,
MessagePostProcessor postProcessor) |
void |
MessageSendingOperations.convertAndSend(D destination,
Object payload,
MessagePostProcessor postProcessor)
Convert the given Object to serialized form, possibly using a
MessageConverter ,
wrap it as a message, apply the given post processor, and send
the resulting message to the given destination. |
void |
AbstractMessageSendingTemplate.convertAndSend(D destination,
Object payload,
MessagePostProcessor postProcessor) |
void |
MessageSendingOperations.convertAndSend(Object payload,
MessagePostProcessor postProcessor)
Convert the given Object to serialized form, possibly using a
MessageConverter ,
wrap it as a message, apply the given post processor, and send
the resulting message to a default destination. |
void |
AbstractMessageSendingTemplate.convertAndSend(Object payload,
MessagePostProcessor postProcessor) |
<T> void |
DestinationResolvingMessageSendingOperations.convertAndSend(String destinationName,
T payload,
Map<String,Object> headers,
MessagePostProcessor postProcessor)
Resolve the given destination name to a destination, convert the payload
Object to serialized form, possibly using a
MessageConverter ,
wrap it as a message with the given headers, apply the given post processor,
and send the resulting message to the resolved destination. |
<T> void |
AbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName,
T payload,
Map<String,Object> headers,
MessagePostProcessor postProcessor) |
<T> void |
DestinationResolvingMessageSendingOperations.convertAndSend(String destinationName,
T payload,
MessagePostProcessor postProcessor)
Resolve the given destination name to a destination, convert the payload
Object to serialized form, possibly using a
MessageConverter ,
wrap it as a message, apply the given post processor, and send the resulting
message to the resolved destination. |
<T> void |
AbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName,
T payload,
MessagePostProcessor postProcessor) |
<T> T |
MessageRequestReplyOperations.convertSendAndReceive(D destination,
Object request,
Class<T> targetClass,
MessagePostProcessor requestPostProcessor)
Convert the given request Object to serialized form, possibly using a
MessageConverter ,
apply the given post processor and send the resulting Message to the
given destination, receive the reply and convert its body of the given
target class. |
<T> T |
AbstractMessagingTemplate.convertSendAndReceive(D destination,
Object request,
Class<T> targetClass,
MessagePostProcessor postProcessor) |
<T> T |
MessageRequestReplyOperations.convertSendAndReceive(D destination,
Object request,
Map<String,Object> headers,
Class<T> targetClass,
MessagePostProcessor requestPostProcessor)
Convert the given request Object to serialized form, possibly using a
MessageConverter ,
wrap it as a message with the given headers, apply the given post processor
and send the resulting Message to the specified destination, receive
the reply and convert its body of the given target class. |
<T> T |
AbstractMessagingTemplate.convertSendAndReceive(D destination,
Object request,
Map<String,Object> headers,
Class<T> targetClass,
MessagePostProcessor postProcessor) |
<T> T |
MessageRequestReplyOperations.convertSendAndReceive(Object request,
Class<T> targetClass,
MessagePostProcessor requestPostProcessor)
Convert the given request Object to serialized form, possibly using a
MessageConverter ,
apply the given post processor and send the resulting Message to a
default destination, receive the reply and convert its body of the given
target class. |
<T> T |
AbstractMessagingTemplate.convertSendAndReceive(Object request,
Class<T> targetClass,
MessagePostProcessor postProcessor) |
<T> T |
AbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName,
Object request,
Class<T> targetClass,
MessagePostProcessor postProcessor) |
<T> T |
DestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName,
Object request,
Class<T> targetClass,
MessagePostProcessor requestPostProcessor)
Resolve the given destination name, convert the payload request Object
to serialized form, possibly using a
MessageConverter ,
wrap it as a message, apply the given post process, and send the resulting
message to the resolved destination, then receive a reply and convert its
body to the specified target class. |
<T> T |
AbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName,
Object request,
Map<String,Object> headers,
Class<T> targetClass,
MessagePostProcessor postProcessor) |
<T> T |
DestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName,
Object request,
Map<String,Object> headers,
Class<T> targetClass,
MessagePostProcessor requestPostProcessor)
Resolve the given destination name, convert the payload request Object
to serialized form, possibly using a
MessageConverter ,
wrap it as a message with the given headers, apply the given post process,
and send the resulting message to the resolved destination, then receive
a reply and convert its body to the specified target class. |
protected Message<?> |
AbstractMessageSendingTemplate.doConvert(Object payload,
Map<String,Object> headers,
MessagePostProcessor postProcessor)
Convert the given Object to serialized form, possibly using a
MessageConverter , wrap it as a message with the given
headers and apply the given post processor. |
Modifier and Type | Method and Description |
---|---|
void |
SimpMessageSendingOperations.convertAndSendToUser(String user,
String destination,
Object payload,
Map<String,Object> headers,
MessagePostProcessor postProcessor)
Send a message to the given user.
|
void |
SimpMessagingTemplate.convertAndSendToUser(String user,
String destination,
Object payload,
Map<String,Object> headers,
MessagePostProcessor postProcessor) |
void |
SimpMessageSendingOperations.convertAndSendToUser(String user,
String destination,
Object payload,
MessagePostProcessor postProcessor)
Send a message to the given user.
|
void |
SimpMessagingTemplate.convertAndSendToUser(String user,
String destination,
Object payload,
MessagePostProcessor postProcessor) |