Uses of Interface
org.springframework.messaging.core.MessagePostProcessor
Packages that use 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
Methods in org.springframework.jms.core with parameters of type MessagePostProcessorModifier and TypeMethodDescriptionvoidJmsMessageOperations.convertAndSend(String destinationName, Object payload, @Nullable Map<String, Object> headers, @Nullable 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.voidJmsMessageOperations.convertAndSend(String destinationName, Object payload, @Nullable 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.voidJmsMessagingTemplate.convertAndSend(Object payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor) voidJmsMessagingTemplate.convertAndSend(String destinationName, Object payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor) voidJmsMessagingTemplate.convertAndSend(String destinationName, Object payload, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TJmsMessageOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, @Nullable MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, apply the given post-processor and send the resultingMessageto the given destination, receive the reply and convert its body of the given target class.<T> @Nullable TJmsMessageOperations.convertSendAndReceive(String destinationName, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable 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 resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> @Nullable TJmsMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TJmsMessagingTemplate.convertSendAndReceive(Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, @Nullable MessagePostProcessor requestPostProcessor) <T> @Nullable TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) JmsClient.Builder.messagePostProcessor(MessagePostProcessor messagePostProcessor) Add aMessagePostProcessorto use for modifyingMessageinstances before sending. -
Uses of MessagePostProcessor in org.springframework.messaging.core
Classes in org.springframework.messaging.core that implement MessagePostProcessorModifier and TypeClassDescriptionclassCompositeMessagePostProcessorimplementation that iterates over a given collection of delegateMessagePostProcessorinstances.Methods in org.springframework.messaging.core with parameters of type MessagePostProcessorModifier and TypeMethodDescription<T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor) <T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, @Nullable MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, @Nullable MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(Object payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(Object payload, @Nullable MessagePostProcessor postProcessor) <T> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, @Nullable Map<String, Object> headers, @Nullable 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> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, @Nullable 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.voidMessageSendingOperations.convertAndSend(D destination, Object payload, @Nullable Map<String, Object> headers, @Nullable 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.voidMessageSendingOperations.convertAndSend(D destination, Object payload, @Nullable 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.voidMessageSendingOperations.convertAndSend(Object payload, @Nullable Map<String, Object> headers, @Nullable 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.voidMessageSendingOperations.convertAndSend(Object payload, @Nullable 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> @Nullable TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TAbstractMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TAbstractMessagingTemplate.convertSendAndReceive(Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, @Nullable 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> @Nullable TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable 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> @Nullable TMessageRequestReplyOperations.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 resultingMessageto the given destination, receive the reply and convert its body of the given target class.<T> @Nullable TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable 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 resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> @Nullable TMessageRequestReplyOperations.convertSendAndReceive(Object request, Class<T> targetClass, @Nullable MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, apply the given post-processor and send the resultingMessageto a default destination, receive the reply and convert its body of the given target class.<T> @Nullable TMessageRequestReplyOperations.convertSendAndReceive(Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable 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 resultingMessageto the specified destination, receive the reply and convert its body of the given target class.protected Message<?> AbstractMessageSendingTemplate.doConvert(Object payload, @Nullable Map<String, Object> headers, @Nullable 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.Constructor parameters in org.springframework.messaging.core with type arguments of type MessagePostProcessorModifierConstructorDescriptionCompositeMessagePostProcessor(List<MessagePostProcessor> messagePostProcessors) Construct a CompositeMessagePostProcessor from the given delegate MessagePostProcessors. -
Uses of MessagePostProcessor in org.springframework.messaging.simp
Methods in org.springframework.messaging.simp with parameters of type MessagePostProcessorModifier and TypeMethodDescriptionvoidSimpMessageSendingOperations.convertAndSendToUser(String user, String destination, Object payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor) Send a message to the given user.voidSimpMessageSendingOperations.convertAndSendToUser(String user, String destination, Object payload, MessagePostProcessor postProcessor) Send a message to the given user.voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor) voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, @Nullable MessagePostProcessor postProcessor)