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