Uses of Interface
org.springframework.amqp.core.MessagePostProcessor
Packages that use MessagePostProcessor
Package
Description
Provides core classes for the spring AMQP abstraction.
Provides top-level classes for Spring Rabbit.
Provides classes supporting the Rabbit XML namespace.
Provides core classes for Spring Rabbit.
Provides classes for message listener containers.
Provides classes for adapting listeners.
Provides Spring support for RabbitMQ AMQP 1.0 Client.
Provides classes for Spring application context support.
Provides Spring support for RabbitMQ AMQP 1.0 Consumer.
Package for Spring AMQP message post processors.
Provides classes for stream producers.
-
Uses of MessagePostProcessor in org.springframework.amqp.core
Methods in org.springframework.amqp.core with parameters of type MessagePostProcessorModifier and TypeMethodDescriptionvoidAmqpTemplate.convertAndSend(@Nullable String exchange, @Nullable String routingKey, Object message, MessagePostProcessor messagePostProcessor) Convert a Java object to an AmqpMessageand send it to a specific exchange with a specific routing key.voidAmqpTemplate.convertAndSend(@Nullable String routingKey, Object message, MessagePostProcessor messagePostProcessor) Convert a Java object to an AmqpMessageand send it to a default exchange with a specific routing key.voidAmqpTemplate.convertAndSend(Object message, MessagePostProcessor messagePostProcessor) Convert a Java object to an AmqpMessageand send it to a default exchange with a default routing key.default CompletableFuture<Boolean> AsyncAmqpTemplate.convertAndSend(Object message, @Nullable MessagePostProcessor messagePostProcessor) default CompletableFuture<Boolean> AsyncAmqpTemplate.convertAndSend(String exchange, @Nullable String routingKey, Object message, @Nullable MessagePostProcessor messagePostProcessor) default CompletableFuture<Boolean> AsyncAmqpTemplate.convertAndSend(String queue, Object message, @Nullable MessagePostProcessor messagePostProcessor) @Nullable ObjectAmqpTemplate.convertSendAndReceive(Object message, MessagePostProcessor messagePostProcessor) Basic RPC pattern with conversion.@Nullable ObjectAmqpTemplate.convertSendAndReceive(String routingKey, Object message, MessagePostProcessor messagePostProcessor) Basic RPC pattern with conversion.@Nullable ObjectAmqpTemplate.convertSendAndReceive(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor) Basic RPC pattern with conversion.<C> CompletableFuture<C> AsyncAmqpTemplate.convertSendAndReceive(Object object, MessagePostProcessor messagePostProcessor) Convert the object to a message and send it to the default exchange with the default routing key after invoking theMessagePostProcessor.<C> CompletableFuture<C> AsyncAmqpTemplate.convertSendAndReceive(String exchange, @Nullable String routingKey, Object object, @Nullable MessagePostProcessor messagePostProcessor) Convert the object to a message and send it to the provided exchange and routing key after invoking theMessagePostProcessor.<C> CompletableFuture<C> AsyncAmqpTemplate.convertSendAndReceive(String routingKey, Object object, MessagePostProcessor messagePostProcessor) Convert the object to a message and send it to the default exchange with the provided routing key after invoking theMessagePostProcessor.<T> @Nullable TAmqpTemplate.convertSendAndReceiveAsType(Object message, MessagePostProcessor messagePostProcessor, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> @Nullable TAmqpTemplate.convertSendAndReceiveAsType(String routingKey, Object message, MessagePostProcessor messagePostProcessor, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> @Nullable TAmqpTemplate.convertSendAndReceiveAsType(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<C> CompletableFuture<C> AsyncAmqpTemplate.convertSendAndReceiveAsType(Object object, @Nullable MessagePostProcessor messagePostProcessor, @Nullable ParameterizedTypeReference<C> responseType) Convert the object to a message and send it to the default exchange with the default routing key after invoking theMessagePostProcessor.<C> CompletableFuture<C> AsyncAmqpTemplate.convertSendAndReceiveAsType(String exchange, @Nullable String routingKey, Object object, @Nullable MessagePostProcessor messagePostProcessor, @Nullable ParameterizedTypeReference<C> responseType) Convert the object to a message and send it to the provided exchange and routing key after invoking theMessagePostProcessor.<C> CompletableFuture<C> AsyncAmqpTemplate.convertSendAndReceiveAsType(String routingKey, Object object, @Nullable MessagePostProcessor messagePostProcessor, @Nullable ParameterizedTypeReference<C> responseType) Convert the object to a message and send it to the default exchange with the provided routing key after invoking theMessagePostProcessor. -
Uses of MessagePostProcessor in org.springframework.amqp.rabbit
Methods in org.springframework.amqp.rabbit with parameters of type MessagePostProcessorModifier and TypeMethodDescription<C> RabbitConverterFuture<C> AsyncRabbitTemplate.convertSendAndReceive(@Nullable String exchange, @Nullable String routingKey, Object object, @Nullable MessagePostProcessor messagePostProcessor) <C> RabbitConverterFuture<C> AsyncRabbitTemplate.convertSendAndReceive(@Nullable String routingKey, Object object, MessagePostProcessor messagePostProcessor) <C> RabbitConverterFuture<C> AsyncRabbitTemplate.convertSendAndReceive(Object object, MessagePostProcessor messagePostProcessor) <C> RabbitConverterFuture<C> AsyncRabbitTemplate.convertSendAndReceiveAsType(@Nullable String exchange, @Nullable String routingKey, Object object, @Nullable MessagePostProcessor messagePostProcessor, @Nullable ParameterizedTypeReference<C> responseType) <C> RabbitConverterFuture<C> AsyncRabbitTemplate.convertSendAndReceiveAsType(@Nullable String routingKey, Object object, @Nullable MessagePostProcessor messagePostProcessor, @Nullable ParameterizedTypeReference<C> responseType) <C> RabbitConverterFuture<C> AsyncRabbitTemplate.convertSendAndReceiveAsType(Object object, @Nullable MessagePostProcessor messagePostProcessor, @Nullable ParameterizedTypeReference<C> responseType) -
Uses of MessagePostProcessor in org.springframework.amqp.rabbit.config
Methods in org.springframework.amqp.rabbit.config with parameters of type MessagePostProcessorModifier and TypeMethodDescriptionvoidAbstractRabbitListenerContainerFactory.setAfterReceivePostProcessors(MessagePostProcessor... postProcessors) Set post processors which will be applied after the Message is received.voidListenerContainerFactoryBean.setAfterReceivePostProcessors(MessagePostProcessor... afterReceivePostProcessors) voidBaseRabbitListenerContainerFactory.setBeforeSendReplyPostProcessors(MessagePostProcessor... postProcessors) Set post-processors that will be applied before sending replies; added to each message listener adapter. -
Uses of MessagePostProcessor in org.springframework.amqp.rabbit.core
Methods in org.springframework.amqp.rabbit.core that return types with arguments of type MessagePostProcessorModifier and TypeMethodDescription@Nullable Collection<MessagePostProcessor> RabbitTemplate.getAfterReceivePostProcessors()Return configured after receiveMessagePostProcessors ornull.@Nullable Collection<MessagePostProcessor> RabbitTemplate.getBeforePublishPostProcessors()Return configured before postMessagePostProcessors ornull.Methods in org.springframework.amqp.rabbit.core with parameters of type MessagePostProcessorModifier and TypeMethodDescriptionvoidRabbitTemplate.addAfterReceivePostProcessors(MessagePostProcessor... afterReceivePostProcessors) AddMessagePostProcessorthat will be invoked immediately after aChannel#basicGet()and before any message conversion is performed.voidRabbitTemplate.addBeforePublishPostProcessors(MessagePostProcessor... beforePublishPostProcessors) AddMessagePostProcessorthat will be invoked immediately before invokingChannel#basicPublish(), after all other processing, except creating theAMQP.BasicPropertiesfromMessageProperties.voidRabbitOperations.convertAndSend(@Nullable String exchange, @Nullable String routingKey, Object message, MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) Convert a Java object to an AmqpMessageand send it to a specific exchange with a specific routing key.voidRabbitOperations.convertAndSend(@Nullable String routingKey, Object message, MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) Convert a Java object to an AmqpMessageand send it to a default exchange with a specific routing key.voidRabbitOperations.convertAndSend(Object message, MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) Convert a Java object to an AmqpMessageand send it to a default exchange with a default routing key.voidRabbitTemplate.convertAndSend(@Nullable String exchange, @Nullable String routingKey, Object message, MessagePostProcessor messagePostProcessor) voidRabbitTemplate.convertAndSend(@Nullable String exchange, @Nullable String routingKey, Object message, MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) voidRabbitTemplate.convertAndSend(@Nullable String routingKey, Object message, MessagePostProcessor messagePostProcessor) voidRabbitTemplate.convertAndSend(@Nullable String routingKey, Object message, MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) voidRabbitTemplate.convertAndSend(Object message, MessagePostProcessor messagePostProcessor) voidRabbitTemplate.convertAndSend(Object message, MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) @Nullable ObjectRabbitOperations.convertSendAndReceive(@Nullable String exchange, @Nullable String routingKey, Object message, @Nullable MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) Basic RPC pattern with conversion.@Nullable ObjectRabbitOperations.convertSendAndReceive(@Nullable String routingKey, Object message, MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) Basic RPC pattern with conversion.@Nullable ObjectRabbitOperations.convertSendAndReceive(Object message, MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) Basic RPC pattern with conversion.@Nullable ObjectRabbitTemplate.convertSendAndReceive(@Nullable String exchange, @Nullable String routingKey, Object message, @Nullable MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) @Nullable ObjectRabbitTemplate.convertSendAndReceive(@Nullable String exchange, @Nullable String routingKey, Object message, MessagePostProcessor messagePostProcessor) @Nullable ObjectRabbitTemplate.convertSendAndReceive(@Nullable String routingKey, Object message, MessagePostProcessor messagePostProcessor) @Nullable ObjectRabbitTemplate.convertSendAndReceive(@Nullable String routingKey, Object message, MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) @Nullable ObjectRabbitTemplate.convertSendAndReceive(Object message, MessagePostProcessor messagePostProcessor) @Nullable ObjectRabbitTemplate.convertSendAndReceive(Object message, MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) <T> @Nullable TRabbitOperations.convertSendAndReceiveAsType(@Nullable String exchange, @Nullable String routingKey, Object message, @Nullable MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> @Nullable TRabbitOperations.convertSendAndReceiveAsType(@Nullable String routingKey, Object message, @Nullable MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> @Nullable TRabbitOperations.convertSendAndReceiveAsType(Object message, @Nullable MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> @Nullable TRabbitTemplate.convertSendAndReceiveAsType(@Nullable String exchange, @Nullable String routingKey, Object message, @Nullable MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData, ParameterizedTypeReference<T> responseType) <T> @Nullable TRabbitTemplate.convertSendAndReceiveAsType(@Nullable String routingKey, Object message, @Nullable MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData, ParameterizedTypeReference<T> responseType) <T> @Nullable TRabbitTemplate.convertSendAndReceiveAsType(@Nullable String routingKey, Object message, @Nullable MessagePostProcessor messagePostProcessor, ParameterizedTypeReference<T> responseType) <T> @Nullable TRabbitTemplate.convertSendAndReceiveAsType(Object message, @Nullable MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData, ParameterizedTypeReference<T> responseType) <T> @Nullable TRabbitTemplate.convertSendAndReceiveAsType(Object message, @Nullable MessagePostProcessor messagePostProcessor, ParameterizedTypeReference<T> responseType) <T> @Nullable TRabbitTemplate.convertSendAndReceiveAsType(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor, ParameterizedTypeReference<T> responseType) protected @Nullable MessageRabbitTemplate.convertSendAndReceiveRaw(@Nullable String exchange, @Nullable String routingKey, Object message, @Nullable MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) Convert and send a message and return the raw reply message, or null.booleanRabbitTemplate.removeAfterReceivePostProcessor(MessagePostProcessor afterReceivePostProcessor) Remove the providedMessagePostProcessorfrom theRabbitTemplate.afterReceivePostProcessorslist.booleanRabbitTemplate.removeBeforePublishPostProcessor(MessagePostProcessor beforePublishPostProcessor) Remove the providedMessagePostProcessorfrom theRabbitTemplate.beforePublishPostProcessorslist.voidRabbitTemplate.setAfterReceivePostProcessors(MessagePostProcessor... afterReceivePostProcessors) Set aMessagePostProcessorthat will be invoked immediately after aChannel#basicGet()and before any message conversion is performed.voidRabbitTemplate.setBeforePublishPostProcessors(MessagePostProcessor... beforePublishPostProcessors) SetMessagePostProcessors that will be invoked immediately before invokingChannel#basicPublish(), after all other processing, except creating theAMQP.BasicPropertiesfromMessageProperties. -
Uses of MessagePostProcessor in org.springframework.amqp.rabbit.listener
Methods in org.springframework.amqp.rabbit.listener that return types with arguments of type MessagePostProcessorModifier and TypeMethodDescriptionprotected @Nullable Collection<MessagePostProcessor> AbstractMessageListenerContainer.getAfterReceivePostProcessors()Methods in org.springframework.amqp.rabbit.listener with parameters of type MessagePostProcessorModifier and TypeMethodDescriptionvoidAbstractMessageListenerContainer.addAfterReceivePostProcessors(MessagePostProcessor... postprocessors) AddMessagePostProcessors that will be applied after message reception, before invoking theMessageListener.booleanAbstractMessageListenerContainer.removeAfterReceivePostProcessor(MessagePostProcessor afterReceivePostProcessor) Remove the providedMessagePostProcessorfrom theAbstractMessageListenerContainer.afterReceivePostProcessorslist.voidAbstractMessageListenerContainer.setAfterReceivePostProcessors(MessagePostProcessor... afterReceivePostProcessors) SetMessagePostProcessors that will be applied after message reception, before invoking theMessageListener. -
Uses of MessagePostProcessor in org.springframework.amqp.rabbit.listener.adapter
Methods in org.springframework.amqp.rabbit.listener.adapter that return MessagePostProcessorModifier and TypeMethodDescriptionMessagePostProcessor @Nullable []AbstractAdaptableMessageListener.getBeforeSendReplyPostProcessors()Methods in org.springframework.amqp.rabbit.listener.adapter with parameters of type MessagePostProcessorModifier and TypeMethodDescriptionvoidAbstractAdaptableMessageListener.setBeforeSendReplyPostProcessors(MessagePostProcessor... beforeSendReplyPostProcessors) Set post-processors that will be applied before sending replies. -
Uses of MessagePostProcessor in org.springframework.amqp.rabbitmq.client
Methods in org.springframework.amqp.rabbitmq.client with parameters of type MessagePostProcessorModifier and TypeMethodDescriptionRabbitAmqpTemplate.convertAndSend(Object message, @Nullable MessagePostProcessor messagePostProcessor) RabbitAmqpTemplate.convertAndSend(String exchange, @Nullable String routingKey, Object message, @Nullable MessagePostProcessor messagePostProcessor) RabbitAmqpTemplate.convertAndSend(String queue, Object message, @Nullable MessagePostProcessor messagePostProcessor) <C> CompletableFuture<C> RabbitAmqpTemplate.convertSendAndReceive(Object object, MessagePostProcessor messagePostProcessor) <C> CompletableFuture<C> RabbitAmqpTemplate.convertSendAndReceive(String exchange, @Nullable String routingKey, Object object, @Nullable MessagePostProcessor messagePostProcessor) <C> CompletableFuture<C> RabbitAmqpTemplate.convertSendAndReceive(String queue, Object object, MessagePostProcessor messagePostProcessor) <C> CompletableFuture<C> RabbitAmqpTemplate.convertSendAndReceiveAsType(Object object, @Nullable MessagePostProcessor messagePostProcessor, @Nullable ParameterizedTypeReference<C> responseType) <C> CompletableFuture<C> RabbitAmqpTemplate.convertSendAndReceiveAsType(String exchange, @Nullable String routingKey, Object object, @Nullable MessagePostProcessor messagePostProcessor, @Nullable ParameterizedTypeReference<C> responseType) <C> CompletableFuture<C> RabbitAmqpTemplate.convertSendAndReceiveAsType(String queue, Object object, @Nullable MessagePostProcessor messagePostProcessor, @Nullable ParameterizedTypeReference<C> responseType) -
Uses of MessagePostProcessor in org.springframework.amqp.rabbitmq.client.config
Methods in org.springframework.amqp.rabbitmq.client.config with parameters of type MessagePostProcessorModifier and TypeMethodDescriptionvoidRabbitAmqpListenerContainerFactory.setAfterReceivePostProcessors(MessagePostProcessor... afterReceivePostProcessors) SetMessagePostProcessors that will be applied after message reception, before invoking theMessageListener. -
Uses of MessagePostProcessor in org.springframework.amqp.rabbitmq.client.listener
Methods in org.springframework.amqp.rabbitmq.client.listener with parameters of type MessagePostProcessorModifier and TypeMethodDescriptionvoidRabbitAmqpListenerContainer.setAfterReceivePostProcessors(MessagePostProcessor... afterReceivePostProcessors) SetMessagePostProcessors that will be applied after message reception, before invoking theMessageListener.Method parameters in org.springframework.amqp.rabbitmq.client.listener with type arguments of type MessagePostProcessorModifier and TypeMethodDescriptionvoidRabbitAmqpMessageListenerAdapter.setAfterReceivePostProcessors(Collection<MessagePostProcessor> afterReceivePostProcessors) -
Uses of MessagePostProcessor in org.springframework.amqp.support.postprocessor
Classes in org.springframework.amqp.support.postprocessor that implement MessagePostProcessorModifier and TypeClassDescriptionclassBase class for post processors that compress the message body.classBase class for post processors that decompress the message body if theMessageProperties.SPRING_AUTO_DECOMPRESSheader is true or to optionally always decompress if the content encoding matchesAbstractDecompressingPostProcessor.getEncoding(), or starts withAbstractDecompressingPostProcessor.getEncoding()+ ":", in which case the encoding following the colon becomes the final content encoding of the decompressed message.classBase class for post processors based onDeflater.classA post processor that uses aDeflaterOutputStreamto compress the message body.classAMessagePostProcessorthat delegates to one of itsMessagePostProcessors depending on the content encoding.classA post processor that uses aGZIPInputStreamto decompress the message body.classA post processor that uses aGZIPOutputStreamto compress the message body.classA post processor that uses aInflaterInputStreamto decompress the message body.classA post processor that uses aZipInputStreamto decompress the message body.classA post processor that uses aZipOutputStreamto compress the message body.Methods in org.springframework.amqp.support.postprocessor that return MessagePostProcessorModifier and TypeMethodDescriptionDelegatingDecompressingPostProcessor.removeDecompressor(String contentEncoding) Remove the decompressor for this encoding; content will not be decompressed even if theMessageProperties.SPRING_AUTO_DECOMPRESSheader is true.Methods in org.springframework.amqp.support.postprocessor that return types with arguments of type MessagePostProcessorModifier and TypeMethodDescriptionstatic Collection<MessagePostProcessor> MessagePostProcessorUtils.sort(Collection<MessagePostProcessor> processors) Methods in org.springframework.amqp.support.postprocessor with parameters of type MessagePostProcessorModifier and TypeMethodDescriptionvoidDelegatingDecompressingPostProcessor.addDecompressor(String contentEncoding, MessagePostProcessor decompressor) Add a message post processor to the map of decompressing MessageProcessors.Method parameters in org.springframework.amqp.support.postprocessor with type arguments of type MessagePostProcessorModifier and TypeMethodDescriptionvoidDelegatingDecompressingPostProcessor.setDecompressors(Map<String, MessagePostProcessor> decompressors) Replace all the decompressors.static Collection<MessagePostProcessor> MessagePostProcessorUtils.sort(Collection<MessagePostProcessor> processors) -
Uses of MessagePostProcessor in org.springframework.rabbit.stream.producer
Methods in org.springframework.rabbit.stream.producer with parameters of type MessagePostProcessorModifier and TypeMethodDescriptionRabbitStreamOperations.convertAndSend(Object message, @Nullable MessagePostProcessor mpp) Convert to and send a Spring AMQP message.RabbitStreamTemplate.convertAndSend(Object message, @Nullable MessagePostProcessor mpp)