Uses of Interface
org.springframework.amqp.support.converter.MessageConverter
Package
Description
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 classes for supporting message conversion.
Provides classes for stream producers.
Provides classes for message conversion.
-
Uses of MessageConverter in org.springframework.amqp.rabbit
-
Uses of MessageConverter in org.springframework.amqp.rabbit.config
Modifier and TypeMethodDescriptionvoid
AbstractRabbitListenerContainerFactory.setMessageConverter
(MessageConverter messageConverter) -
Uses of MessageConverter in org.springframework.amqp.rabbit.core
Modifier and TypeMethodDescriptionRabbitMessagingTemplate.getAmqpMessageConverter()
RabbitTemplate.getMessageConverter()
Return the message converter for this template.Modifier and TypeMethodDescriptionvoid
RabbitMessagingTemplate.setAmqpMessageConverter
(MessageConverter amqpMessageConverter) void
RabbitTemplate.setMessageConverter
(MessageConverter messageConverter) Set the message converter for this template. -
Uses of MessageConverter in org.springframework.amqp.rabbit.listener
Modifier and TypeMethodDescriptionAbstractRabbitListenerEndpoint.getMessageConverter()
default MessageConverter
RabbitListenerEndpoint.getMessageConverter()
Used by the container factory to check if this endpoint supports the preferred way for a container factory to pass a message converter to the endpoint's adapter.Modifier and TypeMethodDescriptionvoid
AbstractRabbitListenerEndpoint.setMessageConverter
(MessageConverter messageConverter) default void
RabbitListenerEndpoint.setMessageConverter
(MessageConverter converter) The preferred way for a container factory to pass a message converter to the endpoint's adapter. -
Uses of MessageConverter in org.springframework.amqp.rabbit.listener.adapter
Modifier and TypeClassDescriptionprotected final class
Delegates payload extraction toAbstractAdaptableMessageListener.extractMessage(org.springframework.amqp.core.Message message)
to enforce backward compatibility.Modifier and TypeMethodDescriptionprotected MessageConverter
AbstractAdaptableMessageListener.getMessageConverter()
Return the converter that will convert incoming Rabbit messages to listener method arguments, and objects returned from listener methods back to Rabbit messages.Modifier and TypeMethodDescriptionprotected Message
AbstractAdaptableMessageListener.convert
(Object result, Type genericType, MessageConverter converter) Convert to a message, with reply content type based on settings.void
AbstractAdaptableMessageListener.setMessageConverter
(MessageConverter messageConverter) Set the converter that will convert incoming Rabbit messages to listener method arguments, and objects returned from listener methods back to Rabbit messages.void
MessagingMessageListenerAdapter.setMessageConverter
(MessageConverter messageConverter) ModifierConstructorDescriptionMessageListenerAdapter
(Object delegate, MessageConverter messageConverter) Create a newMessageListenerAdapter
for the given delegate. -
Uses of MessageConverter in org.springframework.amqp.support.converter
Modifier and TypeInterfaceDescriptioninterface
An extendedMessageConverter
SPI with conversion hint support.Modifier and TypeClassDescriptionclass
Abstract Jackson2 message converter.class
Convenient base class forMessageConverter
implementations.class
MessageConverters that potentially use Java deserialization.class
A compositeMessageConverter
that delegates to an actualMessageConverter
based on the contentType header.class
JSON converter that uses the Jackson 2 Json library.class
XML converter that uses the Jackson 2 Xml library.class
class
Convert aMessage
from the messaging abstraction to and from aMessage
using an underlyingMessageConverter
for the payload and aAmqpHeaderMapper
to map the AMQP headers to and from standard message headers.class
A delegating adapter that unwrapsRemoteInvocationResult
after invoking the delegate to convert from a message.class
Implementation ofMessageConverter
that can work with Strings or native objects of any kind via theSerializer
andDeserializer
abstractions in Spring.class
Implementation ofMessageConverter
that can work with Strings, Serializable instances, or byte arrays.Modifier and TypeMethodDescriptionprotected MessageConverter
ContentTypeDelegatingMessageConverter.getConverterForContentType
(String contentType) ContentTypeDelegatingMessageConverter.removeDelegate
(String contentType) Remove the delegate for the content type.Modifier and TypeMethodDescriptionvoid
ContentTypeDelegatingMessageConverter.addDelegate
(String contentType, MessageConverter messageConverter) Add a delegate converter for the content type.void
MessagingMessageConverter.setPayloadConverter
(MessageConverter payloadConverter) Set theMessageConverter
to use to convert the payload.Modifier and TypeMethodDescriptionvoid
ContentTypeDelegatingMessageConverter.setDelegates
(Map<String, MessageConverter> delegatesByContentType) ModifierConstructorDescriptionContentTypeDelegatingMessageConverter
(MessageConverter defaultConverter) Constructs an instance using a the supplied default converter.MessagingMessageConverter
(MessageConverter payloadConverter, AmqpHeaderMapper headerMapper) Create an instance with the specified payload converter and header mapper. -
Uses of MessageConverter in org.springframework.rabbit.stream.producer
Modifier and TypeMethodDescriptionRabbitStreamOperations.messageConverter()
Return the message converter.RabbitStreamTemplate.messageConverter()
Modifier and TypeMethodDescriptionvoid
RabbitStreamTemplate.setMessageConverter
(MessageConverter messageConverter) Set a converter forRabbitStreamTemplate.convertAndSend(Object)
operations. -
Uses of MessageConverter in org.springframework.rabbit.stream.support.converter